Skip to content

Commit 7421727

Browse files
authored
Merge pull request #33 from artichoke/clippy-useless_conversion-lint-rename-buildfix
Rename clippy::identity_conversion lint allow
2 parents be62715 + 21ce956 commit 7421727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/leak/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ impl<'a, T> Looper<'a, T> {
6161
}
6262

6363
#[cfg(target_os = "linux")]
64-
#[allow(clippy::identity_conversion)]
64+
#[allow(clippy::useless_conversion)]
6565
fn resident_memsize() -> i64 {
6666
let mut out = MaybeUninit::<libc::rusage>::uninit();
6767
assert!(unsafe { libc::getrusage(libc::RUSAGE_SELF, out.as_mut_ptr()) } == 0);

0 commit comments

Comments
 (0)