File tree 4 files changed +9
-0
lines changed
4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -640,6 +640,8 @@ macro_rules! unreachable {
640
640
///
641
641
/// Like `panic!`, this macro has a second form for displaying custom values.
642
642
///
643
+ /// [`todo!`]: crate::todo
644
+ ///
643
645
/// # Examples
644
646
///
645
647
/// Say we have a trait `Foo`:
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ macro_rules! panic {
31
31
/// [`eprint!`] instead to print error and progress messages.
32
32
///
33
33
/// [flush]: crate::io::Write::flush
34
+ /// [`println!`]: crate::println
35
+ /// [`eprint!`]: crate::eprint
34
36
///
35
37
/// # Panics
36
38
///
@@ -77,6 +79,7 @@ macro_rules! print {
77
79
/// [`eprintln!`] instead to print error and progress messages.
78
80
///
79
81
/// [`std::fmt`]: crate::fmt
82
+ /// [`eprintln!`]: crate::eprintln
80
83
///
81
84
/// # Panics
82
85
///
@@ -146,6 +149,7 @@ macro_rules! eprint {
146
149
///
147
150
/// [`io::stderr`]: crate::io::stderr
148
151
/// [`io::stdout`]: crate::io::stdout
152
+ /// [`println!`]: crate::println
149
153
///
150
154
/// # Panics
151
155
///
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ use crate::fmt;
21
21
/// The [`with`] method yields a reference to the contained value which cannot be
22
22
/// sent across threads or escape the given closure.
23
23
///
24
+ /// [`thread_local!`]: crate::thread_local
25
+ ///
24
26
/// # Initialization and Destruction
25
27
///
26
28
/// Initialization is dynamically performed on the first call to [`with`]
Original file line number Diff line number Diff line change 146
146
//! [`Cell`]: crate::cell::Cell
147
147
//! [`RefCell`]: crate::cell::RefCell
148
148
//! [`with`]: LocalKey::with
149
+ //! [`thread_local!`]: crate::thread_local
149
150
150
151
#![ stable( feature = "rust1" , since = "1.0.0" ) ]
151
152
#![ deny( unsafe_op_in_unsafe_fn) ]
You can’t perform that action at this time.
0 commit comments