about summary refs log tree commit diff
path: root/library/alloc/src/sync.rs
diff options
context:
space:
mode:
authorCamelid <37223377+camelid@users.noreply.github.com>2020-08-28 09:29:06 -0700
committerGitHub <noreply@github.com>2020-08-28 09:29:06 -0700
commit7be129e53a8dd2bb84fe99a9e4406099fd181eb0 (patch)
treeeb2115ed2a75123a2897f0ff90315ca174616cda /library/alloc/src/sync.rs
parent3e3c552605180d739eb6c23bc657121679caa456 (diff)
downloadrust-7be129e53a8dd2bb84fe99a9e4406099fd181eb0.tar.gz
rust-7be129e53a8dd2bb84fe99a9e4406099fd181eb0.zip
Add missing hyphen
reference counted pointer -> reference-counted pointer
Diffstat (limited to 'library/alloc/src/sync.rs')
-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].
 ///
 /// ```