Skip to content

Commit 4bdb916

Browse files
committed
Rename drop_copy lint to dropping_copy_types
1 parent 371b88a commit 4bdb916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/mem/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
968968
/// Integers and other types implementing [`Copy`] are unaffected by `drop`.
969969
///
970970
/// ```
971-
/// # #![cfg_attr(not(bootstrap), allow(drop_copy))]
971+
/// # #![cfg_attr(not(bootstrap), allow(dropping_copy_types))]
972972
/// #[derive(Copy, Clone)]
973973
/// struct Foo(u8);
974974
///

0 commit comments

Comments
 (0)