Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unnecessary-qualification in Rust beta
``` error: unnecessary qualification --> x11rb-protocol/src/wrapper.rs:44:35 | 44 | let size = self.0.len() / core::mem::size_of::<T>(); | ^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> x11rb-protocol/src/lib.rs:49:5 | 49 | unused_qualifications, | ^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary path segments | 44 - let size = self.0.len() / core::mem::size_of::<T>(); 44 + let size = self.0.len() / size_of::<T>(); | ``` Signed-off-by: Uli Schlachter <psychon@znc.in>
- Loading branch information