From 8aeecc63f86c86386c74556f784ae02b72d5bed8 Mon Sep 17 00:00:00 2001 From: Abendstolz Date: Fri, 17 Jul 2020 15:21:57 +0200 Subject: [PATCH] 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) --- src/liballoc/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/sync.rs b/src/liballoc/sync.rs index 0053a54f20346..0cf250576f176 100644 --- a/src/liballoc/sync.rs +++ b/src/liballoc/sync.rs @@ -573,7 +573,7 @@ impl Arc { /// 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