Skip to content

Commit

Permalink
fix typo in library/alloc/src/sync.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ibraheem Ahmed <[email protected]>
  • Loading branch information
DiuDiu777 and ibraheemdev authored Jan 16, 2025
1 parent 878a796 commit 48e671e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 48e671e

Please sign in to comment.