diff --git a/Cargo.toml b/Cargo.toml index 827192d..2efe048 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,4 +2,4 @@ members = [ "crates/socket", "crates/service" -] \ No newline at end of file +] diff --git a/crates/socket/Cargo.toml b/crates/socket/Cargo.toml index 8fdbf58..54ec991 100644 --- a/crates/socket/Cargo.toml +++ b/crates/socket/Cargo.toml @@ -40,5 +40,5 @@ fluvio-protocol = { version = "0.2.0", features = ["derive", "api", "codec", "st [dev-dependencies] -fluvio-future = { version = "0.1.5", features = ["fixture","fs","native2_tls"] } +fluvio-future = { version = "0.1.5", features = ["fixture", "fs", "native2_tls"] } flv-util = { version = "0.5.0", features = ["fixture"] } diff --git a/crates/socket/src/multiplexing.rs b/crates/socket/src/multiplexing.rs index 004f6c0..173a27b 100644 --- a/crates/socket/src/multiplexing.rs +++ b/crates/socket/src/multiplexing.rs @@ -131,7 +131,7 @@ where use std::env; let var_value = env::var("car").unwrap_or_default(); - let wait_time: u64 = var_value.parse().unwrap_or_else(|_| 10); + let wait_time: u64 = var_value.parse().unwrap_or(10); wait_time });