about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAbendstolz <abendstolz@karmaisabit.ch>2020-07-17 15:21:57 +0200
committerGitHub <noreply@github.com>2020-07-17 15:21:57 +0200
commit8aeecc63f86c86386c74556f784ae02b72d5bed8 (patch)
tree3299781f09297794af83c0ff3249fb41b15b399d /src/liballoc
parentc2dbebd3d4ad21e80ef4e7535dd1e868aaad7e50 (diff)
downloadrust-8aeecc63f86c86386c74556f784ae02b72d5bed8.tar.gz
rust-8aeecc63f86c86386c74556f784ae02b72d5bed8.zip
Fix Arc::as_ptr docs
As a none-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)
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/sync.rs b/src/liballoc/sync.rs
index 0053a54f203..0cf250576f1 100644
--- a/src/liballoc/sync.rs
+++ b/src/liballoc/sync.rs
@@ -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