|
501 | 501 | //! it would internally pass around this structure until it has been determined
|
502 | 502 | //! where output should go to.
|
503 | 503 | //!
|
504 |
| -//! [`usize`]: ../../std/primitive.usize.html |
505 |
| -//! [`isize`]: ../../std/primitive.isize.html |
506 |
| -//! [`i8`]: ../../std/primitive.i8.html |
507 |
| -//! [`Display`]: trait.Display.html |
508 |
| -//! [`Binary`]: trait.Binary.html |
509 |
| -//! [`fmt::Result`]: type.Result.html |
510 |
| -//! [`Result`]: ../../std/result/enum.Result.html |
511 |
| -//! [`std::fmt::Error`]: struct.Error.html |
512 |
| -//! [`Formatter`]: struct.Formatter.html |
513 |
| -//! [`write!`]: ../../std/macro.write.html |
514 |
| -//! [`Debug`]: trait.Debug.html |
515 |
| -//! [`format!`]: ../../std/macro.format.html |
516 |
| -//! [`to_string`]: ../../std/string/trait.ToString.html |
517 |
| -//! [`writeln!`]: ../../std/macro.writeln.html |
| 504 | +//! [`fmt::Result`]: Result |
| 505 | +//! [`Result`]: core::result::Result |
| 506 | +//! [`std::fmt::Error`]: Error |
| 507 | +//! [`write!`]: core::write |
| 508 | +//! [`write`]: core::write |
| 509 | +//! [`format!`]: crate::format |
| 510 | +//! [`to_string`]: crate::string::ToString |
| 511 | +//! [`writeln!`]: core::writeln |
518 | 512 | //! [`write_fmt`]: ../../std/io/trait.Write.html#method.write_fmt
|
519 | 513 | //! [`std::io::Write`]: ../../std/io/trait.Write.html
|
520 | 514 | //! [`print!`]: ../../std/macro.print.html
|
521 | 515 | //! [`println!`]: ../../std/macro.println.html
|
522 | 516 | //! [`eprint!`]: ../../std/macro.eprint.html
|
523 | 517 | //! [`eprintln!`]: ../../std/macro.eprintln.html
|
524 |
| -//! [`write!`]: ../../std/macro.write.html |
525 |
| -//! [`format_args!`]: ../../std/macro.format_args.html |
526 |
| -//! [`fmt::Arguments`]: struct.Arguments.html |
527 |
| -//! [`write`]: fn.write.html |
528 |
| -//! [`format`]: fn.format.html |
| 518 | +//! [`format_args!`]: core::format_args |
| 519 | +//! [`fmt::Arguments`]: Arguments |
| 520 | +//! [`format`]: crate::format |
529 | 521 |
|
530 | 522 | #![stable(feature = "rust1", since = "1.0.0")]
|
531 | 523 |
|
@@ -576,9 +568,8 @@ use crate::string;
|
576 | 568 | /// assert_eq!(s, "Hello, world!");
|
577 | 569 | /// ```
|
578 | 570 | ///
|
579 |
| -/// [`Arguments`]: struct.Arguments.html |
580 |
| -/// [`format_args!`]: ../../std/macro.format_args.html |
581 |
| -/// [`format!`]: ../../std/macro.format.html |
| 571 | +/// [`format_args!`]: core::format_args |
| 572 | +/// [`format!`]: crate::format |
582 | 573 | #[stable(feature = "rust1", since = "1.0.0")]
|
583 | 574 | pub fn format(args: Arguments<'_>) -> string::String {
|
584 | 575 | let capacity = args.estimated_capacity();
|
|
0 commit comments