warning: use of `ok_or` followed by a function call --> src/lib.rs:379:10 | 379 | .ok_or(tungstenite::Error::Url("Url scheme not supported".into())) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `ok_or_else(|| tungstenite::Error::Url("Url scheme not supported".into()))`pull/12/head
parent
42d6771357
commit
a65c53b6cd
Loading…
Reference in new issue