/// depending on the intended destination of the string.
///
/// [fmt]: ../std/fmt/index.html
-/// [`print!`]: macro.print.html
-/// [`write!`]: macro.write.html
+/// [`print!`]: ../std/macro.print.html
+/// [`write!`]: ../std/macro.write.html
///
/// # Panics
///
///
/// [`format!`]: ../std/macro.format.html
/// [`std::fmt`]: ../std/fmt/index.html
-/// [`eprintln!`]: ..std/macro.eprint.html
+/// [`eprintln!`]: ../std/macro.eprint.html
/// # Panics
///
/// Panics if writing to `io::stdout` fails.