File tree 2 files changed +17
-7
lines changed
2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -272,10 +272,14 @@ impl<'a> Arguments<'a> {
272
272
/// safely be done so, so no constructors are given and the fields are private
273
273
/// to prevent modification.
274
274
///
275
- /// The `format_args!` macro will safely create an instance of this structure
275
+ /// The [ `format_args!`] macro will safely create an instance of this structure
276
276
/// and pass it to a function or closure, passed as the first argument. The
277
- /// macro validates the format string at compile-time so usage of the `write`
278
- /// and `format` functions can be safely performed.
277
+ /// macro validates the format string at compile-time so usage of the [`write`]
278
+ /// and [`format`] functions can be safely performed.
279
+ ///
280
+ /// [`format_args!`]: ../../std/macro.format_args.html
281
+ /// [`format`]: ../../std/fmt/fn.format.html
282
+ /// [`write`]: ../../std/fmt/fn.write.html
279
283
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
280
284
#[ derive( Copy , Clone ) ]
281
285
pub struct Arguments < ' a > {
Original file line number Diff line number Diff line change @@ -193,12 +193,18 @@ macro_rules! assert_approx_eq {
193
193
pub mod builtin {
194
194
/// The core macro for formatted string creation & output.
195
195
///
196
- /// This macro produces a value of type `fmt::Arguments`. This value can be
197
- /// passed to the functions in `std::fmt` for performing useful functions.
198
- /// All other formatting macros (`format!`, `write!`, `println!`, etc) are
196
+ /// This macro produces a value of type [ `fmt::Arguments`] . This value can be
197
+ /// passed to the functions in [ `std::fmt`] for performing useful functions.
198
+ /// All other formatting macros ([ `format!`], [ `write!`], [ `println!`] , etc) are
199
199
/// proxied through this one.
200
200
///
201
- /// For more information, see the documentation in `std::fmt`.
201
+ /// For more information, see the documentation in [`std::fmt`].
202
+ ///
203
+ /// [`fmt::Arguments`]: ../std/fmt/struct.Arguments.html
204
+ /// [`std::fmt`]: ../std/fmt/index.html
205
+ /// [`format!`]: ../std/macro.format.html
206
+ /// [`write!`]: ../std/macro.write.html
207
+ /// [`println!`]: ../std/macro.println.html
202
208
///
203
209
/// # Examples
204
210
///
You can’t perform that action at this time.
0 commit comments