Skip to content

Commit bc3c445

Browse files
committed
mem::drop docs
1 parent 05c6221 commit bc3c445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/mem/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
930930
/// This function is not magic; it is literally defined as
931931
///
932932
/// ```
933-
/// pub fn drop<T>(_x: T) { }
933+
/// pub fn drop<T>(_x: T) {}
934934
/// ```
935935
///
936936
/// Because `_x` is moved into the function, it is automatically dropped before

0 commit comments

Comments
 (0)