about summary refs log tree commit diff
path: root/library/alloc
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-01-05 09:52:47 +0900
committerGitHub <noreply@github.com>2021-01-05 09:52:47 +0900
commitcda26a6b1598c548a61a53c0d0a9d0e15a0a3e8f (patch)
treebfe5bdcc17860fa76d8ecffae6f6c7ebcaaa2205 /library/alloc
parentcbdc24174bf510650a6e1ecf67fc79df762df5a0 (diff)
parent6d45d055a122a3a44a9e76baca02d440f5c7aef3 (diff)
downloadrust-cda26a6b1598c548a61a53c0d0a9d0e15a0a3e8f.tar.gz
rust-cda26a6b1598c548a61a53c0d0a9d0e15a0a3e8f.zip
Rollup merge of #80666 - jjlin:master, r=Dylan-DPC
Fix missing link for "fully qualified syntax"

This issue can currently be seen at https://doc.rust-lang.org/stable/std/rc/index.html#toggle-all-docs:~:text=%5B-,fully%20qualified%20syntax

It originates from #76138, where the link was added to `library/alloc/src/sync.rs`, but not `library/alloc/src/rc.rs`.
Diffstat (limited to 'library/alloc')
-rw-r--r--library/alloc/src/rc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/rc.rs b/library/alloc/src/rc.rs
index 3115cc3d002..8183a582d33 100644
--- a/library/alloc/src/rc.rs
+++ b/library/alloc/src/rc.rs
@@ -238,6 +238,7 @@
 //! [downgrade]: Rc::downgrade
 //! [upgrade]: Weak::upgrade
 //! [mutability]: core::cell#introducing-mutability-inside-of-something-immutable
+//! [fully qualified syntax]: https://doc.rust-lang.org/book/ch19-03-advanced-traits.html#fully-qualified-syntax-for-disambiguation-calling-methods-with-the-same-name
 
 #![stable(feature = "rust1", since = "1.0.0")]