about summary refs log tree commit diff
path: root/src/liballoc/arc.rs
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2017-01-27 18:08:51 +0000
committerOliver Middleton <olliemail27@gmail.com>2017-01-27 18:08:51 +0000
commit09b3903aecf2c8cafa62cb67eccbe10a3ca09b5d (patch)
tree8a2da1f4744b3171c52e426d73faf982156189ab /src/liballoc/arc.rs
parent8367fb7ba6abae89ab7e17c1b3987ee321f5bb71 (diff)
downloadrust-09b3903aecf2c8cafa62cb67eccbe10a3ca09b5d.tar.gz
rust-09b3903aecf2c8cafa62cb67eccbe10a3ca09b5d.zip
Fix a few links in the docs
Diffstat (limited to 'src/liballoc/arc.rs')
-rw-r--r--src/liballoc/arc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 459dc94f336..38d843263ff 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -59,7 +59,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize;
 /// as long as `T` implements [`Send`] and [`Sync`][sync]. The disadvantage is
 /// that atomic operations are more expensive than ordinary memory accesses.
 /// If you are not sharing reference-counted values between threads, consider
-/// using [`rc::Rc`] for lower overhead. [`Rc`] is a safe default, because
+/// using [`rc::Rc`][`Rc`] for lower overhead. [`Rc`] is a safe default, because
 /// the compiler will catch any attempt to send an [`Rc`] between threads.
 /// However, a library might choose `Arc` in order to give library consumers
 /// more flexibility.