diff options
| author | ClearLove <98693523+DiuDiu777@users.noreply.github.com> | 2025-01-16 15:16:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-16 15:16:43 +0800 |
| commit | 48e671ec88386f29ab2e3840a6fde3645abbc085 (patch) | |
| tree | a0167ee63314380743a811d9c12aa5d18c936efb /library/alloc/src | |
| parent | 878a79691caa5b02bb8a91f10866903a4af8b523 (diff) | |
| download | rust-48e671ec88386f29ab2e3840a6fde3645abbc085.tar.gz rust-48e671ec88386f29ab2e3840a6fde3645abbc085.zip | |
fix typo in library/alloc/src/sync.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index dd899c8a71d..f7201a5ec2f 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -1376,7 +1376,7 @@ impl<T: ?Sized> Arc<T> { /// different types. See [`mem::transmute`][transmute] for more information /// on what restrictions apply in this case. /// - /// The raw pointer must point to a block of memory allocated by the global allocator + /// The raw pointer must point to a block of memory allocated by the global allocator. /// /// The user of `from_raw` has to make sure a specific value of `T` is only /// dropped once. |
