about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-08-31 12:51:45 +0200
committerGitHub <noreply@github.com>2020-08-31 12:51:45 +0200
commit6ce32439952401b4c6dd613df9b35fa058591e32 (patch)
tree663c46bd5ede1846517bda4b86274a68ae650557
parente59eb4e0fad4fc1ab3ac3c2db3f3e64177fbca07 (diff)
parent7be129e53a8dd2bb84fe99a9e4406099fd181eb0 (diff)
downloadrust-6ce32439952401b4c6dd613df9b35fa058591e32.tar.gz
rust-6ce32439952401b4c6dd613df9b35fa058591e32.zip
Rollup merge of #76033 - camelid:patch-7, r=Dylan-DPC
Add missing hyphen

reference counted pointer -> reference-counted pointer

@rustbot modify labels: T-doc
-rw-r--r--library/alloc/src/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs
index 73d2fe74826..ff07bf52c02 100644
--- a/library/alloc/src/sync.rs
+++ b/library/alloc/src/sync.rs
@@ -111,7 +111,7 @@ macro_rules! acquire {
 ///
 /// # Cloning references
 ///
-/// Creating a new reference from an existing reference counted pointer is done using the
+/// Creating a new reference from an existing reference-counted pointer is done using the
 /// `Clone` trait implemented for [`Arc<T>`][Arc] and [`Weak<T>`][Weak].
 ///
 /// ```