Fix doc links to std::fmt
std::format and core::write macros' docs linked to core::fmt for format string reference, even though only std::fmt has format string documentation and the link titles were std::fmt.
This commit is contained in:
parent
388ef34904
commit
3baf6a4a74
2 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ macro_rules! vec {
|
||||||
///
|
///
|
||||||
/// Additional parameters passed to `format!` replace the `{}`s within the
|
/// Additional parameters passed to `format!` replace the `{}`s within the
|
||||||
/// formatting string in the order given unless named or positional parameters
|
/// formatting string in the order given unless named or positional parameters
|
||||||
/// are used; see [`std::fmt`][fmt] for more information.
|
/// are used; see [`std::fmt`] for more information.
|
||||||
///
|
///
|
||||||
/// A common use for `format!` is concatenation and interpolation of strings.
|
/// A common use for `format!` is concatenation and interpolation of strings.
|
||||||
/// The same convention is used with [`print!`] and [`write!`] macros,
|
/// The same convention is used with [`print!`] and [`write!`] macros,
|
||||||
|
@ -80,7 +80,7 @@ macro_rules! vec {
|
||||||
/// To convert a single value to a string, use the [`to_string`] method. This
|
/// To convert a single value to a string, use the [`to_string`] method. This
|
||||||
/// will use the [`Display`] formatting trait.
|
/// will use the [`Display`] formatting trait.
|
||||||
///
|
///
|
||||||
/// [fmt]: core::fmt
|
/// [`std::fmt`]: ../std/fmt/index.html
|
||||||
/// [`print!`]: ../std/macro.print.html
|
/// [`print!`]: ../std/macro.print.html
|
||||||
/// [`write!`]: core::write
|
/// [`write!`]: core::write
|
||||||
/// [`to_string`]: crate::string::ToString
|
/// [`to_string`]: crate::string::ToString
|
||||||
|
|
|
@ -327,7 +327,7 @@ macro_rules! r#try {
|
||||||
///
|
///
|
||||||
/// See [`std::fmt`] for more information on the format string syntax.
|
/// See [`std::fmt`] for more information on the format string syntax.
|
||||||
///
|
///
|
||||||
/// [`std::fmt`]: crate::fmt
|
/// [`std::fmt`]: ../std/fmt/index.html
|
||||||
/// [`fmt::Write`]: crate::fmt::Write
|
/// [`fmt::Write`]: crate::fmt::Write
|
||||||
/// [`io::Write`]: ../std/io/trait.Write.html
|
/// [`io::Write`]: ../std/io/trait.Write.html
|
||||||
/// [`fmt::Result`]: crate::fmt::Result
|
/// [`fmt::Result`]: crate::fmt::Result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue