diff options
| author | Cyborus04 <87248184+Cyborus04@users.noreply.github.com> | 2023-06-30 11:39:34 -0400 |
|---|---|---|
| committer | Cyborus04 <87248184+Cyborus04@users.noreply.github.com> | 2023-06-30 11:40:19 -0400 |
| commit | 215cf36d64075f2cd0c1c85401ddc3b0ad6f3353 (patch) | |
| tree | 6666218ba34faeb4534ff94387445a02bea41995 /library/alloc/src | |
| parent | a52f8f688b7cea390f000aed232b056c8ffdfa79 (diff) | |
| download | rust-215cf36d64075f2cd0c1c85401ddc3b0ad6f3353.tar.gz rust-215cf36d64075f2cd0c1c85401ddc3b0ad6f3353.zip | |
Add support for allocators in `Rc` and `Arc`
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 7fcac60b129..e00850eb5d8 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -1493,7 +1493,7 @@ impl<T: ?Sized, A: Allocator> Arc<T, A> { /// basically like transmuting references of 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 `alloc` /// /// The user of `from_raw` has to make sure a specific value of `T` is only |
