Skip to content

Commit d438fbb

Browse files
DiuDiu777ibraheemdev
authored and
gitbot
committed
fix typo in library/alloc/src/sync.rs
Co-authored-by: Ibraheem Ahmed <ibraheem@ibraheem.ca>
1 parent e362a5e commit d438fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,7 @@ impl<T: ?Sized> Arc<T> {
13971397
/// different types. See [`mem::transmute`][transmute] for more information
13981398
/// on what restrictions apply in this case.
13991399
///
1400-
/// The raw pointer must point to a block of memory allocated by the global allocator
1400+
/// The raw pointer must point to a block of memory allocated by the global allocator.
14011401
///
14021402
/// The user of `from_raw` has to make sure a specific value of `T` is only
14031403
/// dropped once.

0 commit comments

Comments
 (0)