Skip to content

Commit

Permalink
Rollup merge of #74440 - Abendstolz:patch-1, r=hanna-kruppe
Browse files Browse the repository at this point in the history
Fix Arc::as_ptr docs

As a non-native speaker I stumbled upon this, looked it up and couldn't find a phrase, so I made my own assumption that "in any way" was meant (which is the meaning I would've deduced anyway)
  • Loading branch information
Manishearth authored Jul 17, 2020
2 parents cdedae8 + 8aeecc6 commit ff1c53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ impl<T: ?Sized> Arc<T> {

/// Provides a raw pointer to the data.
///
/// The counts are not affected in way and the `Arc` is not consumed. The pointer is valid for
/// The counts are not affected in any way and the `Arc` is not consumed. The pointer is valid for
/// as long as there are strong counts in the `Arc`.
///
/// # Examples
Expand Down

0 comments on commit ff1c53f

Please sign in to comment.