Skip to content

Commit

Permalink
Rename drop_copy lint to dropping_copy_types
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed May 21, 2023
1 parent 371b88a commit 4bdb916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/mem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
/// Integers and other types implementing [`Copy`] are unaffected by `drop`.
///
/// ```
/// # #![cfg_attr(not(bootstrap), allow(drop_copy))]
/// # #![cfg_attr(not(bootstrap), allow(dropping_copy_types))]
/// #[derive(Copy, Clone)]
/// struct Foo(u8);
///
Expand Down

0 comments on commit 4bdb916

Please sign in to comment.