diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-12-19 16:57:23 +0100 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-12-19 16:57:23 +0100 |
| commit | a0b346a34936c6ed88ad9680069c0300b0c068d8 (patch) | |
| tree | 5c9d44550724d6ed3cb975aad4b68f8bd284dcc9 /src/libstd | |
| parent | 10271ea24fbd7b28a42df8eb02a8dcf6d6132d71 (diff) | |
| download | rust-a0b346a34936c6ed88ad9680069c0300b0c068d8.tar.gz rust-a0b346a34936c6ed88ad9680069c0300b0c068d8.zip | |
Allow `writeln!` without arguments, in symmetry with `println!`
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 0ce6b0a9431..52c6da58151 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -112,7 +112,7 @@ macro_rules! print { /// # Examples /// /// ``` -/// println!(); +/// println!(); // prints just a newline /// println!("hello there!"); /// println!("format {} arguments", "some"); /// ``` |
