cloud-hypervisor/micro_http
Samuel Ortiz 9a93f4f0a6 micro_http: Fix clippy warning
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>
2019-10-04 09:36:33 +02:00
..
src micro_http: Fix clippy warning 2019-10-04 09:36:33 +02:00
Cargo.toml micro_http: Import Firecracker HTTP 1.x implementation 2019-10-04 09:36:33 +02:00