Skip to content

Commit ff1c53f

Browse files
authored
Rollup merge of #74440 - Abendstolz:patch-1, r=hanna-kruppe
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)
2 parents cdedae8 + 8aeecc6 commit ff1c53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ impl<T: ?Sized> Arc<T> {
573573

574574
/// Provides a raw pointer to the data.
575575
///
576-
/// The counts are not affected in way and the `Arc` is not consumed. The pointer is valid for
576+
/// The counts are not affected in any way and the `Arc` is not consumed. The pointer is valid for
577577
/// as long as there are strong counts in the `Arc`.
578578
///
579579
/// # Examples

0 commit comments

Comments
 (0)