about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-17 14:09:31 -0700
committerGitHub <noreply@github.com>2020-07-17 14:09:31 -0700
commitff1c53f811dcc395297ca5ce70f7acd84566ff4a (patch)
tree2c40adb607aeb3d0c7887305fba1ad8a8ea9323a
parentcdedae82cc51c3f9a022643dfdc46584b77651f1 (diff)
parent8aeecc63f86c86386c74556f784ae02b72d5bed8 (diff)
downloadrust-ff1c53f811dcc395297ca5ce70f7acd84566ff4a.tar.gz
rust-ff1c53f811dcc395297ca5ce70f7acd84566ff4a.zip
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)
-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