Skip to content

Commit

Permalink
mem::drop docs
Browse files Browse the repository at this point in the history
  • Loading branch information
asquared31415 committed Sep 30, 2023
1 parent 05c6221 commit bc3c445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/mem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
/// This function is not magic; it is literally defined as
///
/// ```
/// pub fn drop<T>(_x: T) { }
/// pub fn drop<T>(_x: T) {}
/// ```
///
/// Because `_x` is moved into the function, it is automatically dropped before
Expand Down

0 comments on commit bc3c445

Please sign in to comment.