Skip to content

Commit

Permalink
Update sync.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored May 22, 2021
1 parent 9d38ce3 commit 1eb439a
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 @@ -489,7 +489,7 @@ impl<T> Arc<T> {
pub fn pin(data: T) -> Pin<Arc<T>> {
unsafe { Pin::new_unchecked(Arc::new(data)) }
}

/// Constructs a new `Pin<Arc<T>>, return an error if allocation fails.
#[unstable(feature = "allocator_api", issue = "32838")]
#[inline]
Expand Down

0 comments on commit 1eb439a

Please sign in to comment.