Skip to content

Commit 0dfee75

Browse files
DiuDiu777ibraheemdev
authored and
gitbot
committed
fix typo in library/alloc/src/sync.rs
Co-authored-by: Ibraheem Ahmed <[email protected]>
1 parent e46d8fc commit 0dfee75

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
@@ -1376,7 +1376,7 @@ impl<T: ?Sized> Arc<T> {
13761376
/// different types. See [`mem::transmute`][transmute] for more information
13771377
/// on what restrictions apply in this case.
13781378
///
1379-
/// The raw pointer must point to a block of memory allocated by the global allocator
1379+
/// The raw pointer must point to a block of memory allocated by the global allocator.
13801380
///
13811381
/// The user of `from_raw` has to make sure a specific value of `T` is only
13821382
/// dropped once.

0 commit comments

Comments
 (0)