diff options
| author | asquared31415 <34665709+asquared31415@users.noreply.github.com> | 2023-09-30 14:41:56 -0400 |
|---|---|---|
| committer | asquared31415 <34665709+asquared31415@users.noreply.github.com> | 2023-09-30 14:41:56 -0400 |
| commit | bc3c445764769fa2f318304c8353d9fba832f466 (patch) | |
| tree | 80c97731dc882fdf24f1fb2339e7f4e5c49de8b1 /library/core/src/mem | |
| parent | 05c622138cd47f03a5f6aaabbf0828bc378c5f3a (diff) | |
| download | rust-bc3c445764769fa2f318304c8353d9fba832f466.tar.gz rust-bc3c445764769fa2f318304c8353d9fba832f466.zip | |
mem::drop docs
Diffstat (limited to 'library/core/src/mem')
| -rw-r--r-- | library/core/src/mem/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/mem/mod.rs b/library/core/src/mem/mod.rs index d7abc9a0e23..5244e478018 100644 --- a/library/core/src/mem/mod.rs +++ b/library/core/src/mem/mod.rs @@ -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 |
