File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -640,6 +640,8 @@ macro_rules! unreachable {
640640///
641641/// Like `panic!`, this macro has a second form for displaying custom values.
642642///
643+ /// [`todo!`]: crate::todo
644+ ///
643645/// # Examples
644646///
645647/// Say we have a trait `Foo`:
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ macro_rules! panic {
3131/// [`eprint!`] instead to print error and progress messages.
3232///
3333/// [flush]: crate::io::Write::flush
34+ /// [`println!`]: crate::println
35+ /// [`eprint!`]: crate::eprint
3436///
3537/// # Panics
3638///
@@ -77,6 +79,7 @@ macro_rules! print {
7779/// [`eprintln!`] instead to print error and progress messages.
7880///
7981/// [`std::fmt`]: crate::fmt
82+ /// [`eprintln!`]: crate::eprintln
8083///
8184/// # Panics
8285///
@@ -146,6 +149,7 @@ macro_rules! eprint {
146149///
147150/// [`io::stderr`]: crate::io::stderr
148151/// [`io::stdout`]: crate::io::stdout
152+ /// [`println!`]: crate::println
149153///
150154/// # Panics
151155///
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ use crate::fmt;
2121/// The [`with`] method yields a reference to the contained value which cannot be
2222/// sent across threads or escape the given closure.
2323///
24+ /// [`thread_local!`]: crate::thread_local
25+ ///
2426/// # Initialization and Destruction
2527///
2628/// Initialization is dynamically performed on the first call to [`with`]
Original file line number Diff line number Diff line change 146146//! [`Cell`]: crate::cell::Cell
147147//! [`RefCell`]: crate::cell::RefCell
148148//! [`with`]: LocalKey::with
149+ //! [`thread_local!`]: crate::thread_local
149150
150151#![ stable( feature = "rust1" , since = "1.0.0" ) ]
151152#![ deny( unsafe_op_in_unsafe_fn) ]
You can’t perform that action at this time.
0 commit comments