Skip to content

Commit 35a01b0

Browse files
committed
mem::drop docs
1 parent a289528 commit 35a01b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)