diff options
| author | Ben S <ogham@users.noreply.github.com> | 2015-09-25 12:29:47 +0100 |
|---|---|---|
| committer | Ben S <ogham@users.noreply.github.com> | 2015-09-25 12:29:47 +0100 |
| commit | c6e1b12a58b33ecfe7793d39b28827e05d3106f5 (patch) | |
| tree | 593a65cef84d555155b310f2e20800c4bf1429a6 /src/libstd | |
| parent | 5ca60d94316bd56f412ef4c13292237e206babf1 (diff) | |
Change the first line of the println macro doc
This makes the first lines of the print! and println! macros different. Previously, they would show up exactly the same in the documentation for the macros in libstd [1], with nothing about how one of them also prints a newline. [1]: https://doc.rust-lang.org/stable/std/#macros
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index a07d21add8d..a88ddb997f6 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -98,7 +98,7 @@ macro_rules! print { ($($arg:tt)*) => ($crate::io::_print(format_args!($($arg)*))); } -/// Macro for printing to the standard output. +/// Macro for printing to the standard output, with a newline. /// /// Use the `format!` syntax to write data to the standard output. /// See `std::fmt` for more information. |
