Skip to content

Commit 222a3a5

Browse files
improve the doc comment on drop_glue
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent e3aaa43 commit 222a3a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/core/src/ptr/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ where
821821
unsafe { drop_glue(&mut *to_drop) }
822822
}
823823

824-
/// Helper function for `drop_in_place`.
824+
/// Helper function for `drop_in_place`. The compiler replaces this by the actual drop glue.
825825
#[lang = "drop_glue"]
826826
pub(crate) const unsafe fn drop_glue<T: PointeeSized>(_: &mut T)
827827
where

0 commit comments

Comments
 (0)