warning: redundant closure found --> src/protocol/mod.rs:114:43 | 114 | config: config.unwrap_or_else(|| WebSocketConfig::default()), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `WebSocketConfig::default` | = note: #[warn(redundant_closure)] on by default = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#redundant_closurepull/39/head
parent
c7a71106ac
commit
bdc42480b2
Loading…
Reference in new issue