Skip to content

Remove unused 'mut'

Florian Schmaus requested to merge flow/xmpp-rs:remove-unused-mut into main

Fixes compilation for me, previously I got:

rror: variable does not need to be mutable --> tokio-xmpp/src/xmpp_stream.rs:92:58 | 92 | #[cfg_attr(rustc_least_1_48, allow(unused_mut))] mut self: Pin<&mut Self>, | ----^^^^ | | | help: remove this mut | note: the lint level is defined here --> tokio-xmpp/src/lib.rs:3:22 | 3 | #![deny(unsafe_code, unused, missing_docs, bare_trait_objects)] | ^^^^^^ = note: #[deny(unused_mut)] implied by #[deny(unused)]

Merge request reports