Skip to content

Commit 215cf36

Browse files
committed
Add support for allocators in Rc and Arc
1 parent a52f8f6 commit 215cf36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ impl<T: ?Sized, A: Allocator> Arc<T, A> {
14931493
/// basically like transmuting references of different types. See
14941494
/// [`mem::transmute`][transmute] for more information on what
14951495
/// restrictions apply in this case.
1496-
///
1496+
///
14971497
/// The raw pointer must point to a block of memory allocated by `alloc`
14981498
///
14991499
/// The user of `from_raw` has to make sure a specific value of `T` is only

0 commit comments

Comments
 (0)