File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,12 @@ macro_rules! vec {
79
79
///
80
80
/// The first argument `format!` receives is a format string. This must be a string
81
81
/// literal. The power of the formatting string is in the `{}`s contained.
82
- ///
83
82
/// Additional parameters passed to `format!` replace the `{}`s within the
84
83
/// formatting string in the order given unless named or positional parameters
85
- /// are used; see [`std::fmt`] for more information.
84
+ /// are used.
85
+ ///
86
+ /// See [the formatting syntax documentation in `std::fmt`](../std/fmt/index.html)
87
+ /// for details.
86
88
///
87
89
/// A common use for `format!` is concatenation and interpolation of strings.
88
90
/// The same convention is used with [`print!`] and [`write!`] macros,
@@ -91,7 +93,6 @@ macro_rules! vec {
91
93
/// To convert a single value to a string, use the [`to_string`] method. This
92
94
/// will use the [`Display`] formatting trait.
93
95
///
94
- /// [`std::fmt`]: ../std/fmt/index.html
95
96
/// [`print!`]: ../std/macro.print.html
96
97
/// [`write!`]: core::write
97
98
/// [`to_string`]: crate::string::ToString
Original file line number Diff line number Diff line change @@ -849,7 +849,8 @@ pub(crate) mod builtin {
849
849
/// assert_eq!(display, debug);
850
850
/// ```
851
851
///
852
- /// For more information, see the documentation in [`std::fmt`].
852
+ /// See [the formatting documentation in `std::fmt`](../std/fmt/index.html)
853
+ /// for details of the macro argument syntax, and further information.
853
854
///
854
855
/// [`Display`]: crate::fmt::Display
855
856
/// [`Debug`]: crate::fmt::Debug
You can’t perform that action at this time.
0 commit comments