-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add some links to the cell docs. #81573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
//! [`Arc<T>`]: ../../std/sync/struct.Arc.html | ||
//! [`Rc<T>`]: ../../std/rc/struct.Rc.html | ||
//! [`RwLock<T>`]: ../../std/sync/struct.RwLock.html | ||
//! [`Mutex<T>`]: ../../std/sync/struct.Mutex.html | ||
//! [`atomic`]: ../../core/sync/atomic/index.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//! [`Arc<T>`]: ../../std/sync/struct.Arc.html | |
//! [`Rc<T>`]: ../../std/rc/struct.Rc.html | |
//! [`RwLock<T>`]: ../../std/sync/struct.RwLock.html | |
//! [`Mutex<T>`]: ../../std/sync/struct.Mutex.html | |
//! [`atomic`]: ../../core/sync/atomic/index.html | |
//! [`Arc<T>`]: crate::sync::Arc | |
//! [`Rc<T>`]: crate::rc::Rc | |
//! [`RwLock<T>`]: crate::sync::RwLock | |
//! [`Mutex<T>`]: crate::sync::Mutex | |
//! [`atomic`]: crate::sync::atomic |
I think its time for using intra-doc-links should be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that is possible. These docs live in core
, but most of those only exist in std
or alloc
. I do not believe intra-doc-links support that.
The job Click to see the possible cause of the failure (guessed by this bot)
|
📌 Commit 4749ad0 has been approved by |
…laumeGomez Rollup of 4 pull requests Successful merges: - rust-lang#81144 (Fixed formatting typo in map_while docs) - rust-lang#81573 (Add some links to the cell docs.) - rust-lang#81679 (Bind all clean::Type variants and remove FIXME) - rust-lang#81681 (Better styling of "Switch result tab" shortcut) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This adds a few links to the cell module docs to make it a little easier to navigate to the types and functions it references.