Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.

Fix clippy errors #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
members = [
"crates/socket",
"crates/service"
]
]
2 changes: 1 addition & 1 deletion crates/socket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion crates/socket/src/multiplexing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
});

Expand Down