Skip to content

Commit dbac25a

Browse files
authored
Unrolled build for rust-lang#116295
Rollup merge of rust-lang#116295 - asquared31415:mem_drop_docs, r=WaffleLapkin Fix `core::mem::drop` docs inaccuracy r? `@Nilstrieb`
2 parents 7c3eeb9 + bc3c445 commit dbac25a

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)