mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-15 00:55:21 +00:00
9a93f4f0a6
Use a more idiomatic "let Ok(foo) = result" construct for: 105 | if try_numeric.is_ok() { | ------------------- the check is happening here 106 | self.content_length = try_numeric.unwrap(); | ^^^^^^^^^^^^^^^^^^^^ Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>