diff options
| author | bors <bors@rust-lang.org> | 2017-01-07 10:59:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-07 10:59:46 +0000 |
| commit | e1dfe3d678de05f0e5b5f1bfa9c06025a7a0fb37 (patch) | |
| tree | 78044fa104e6a230f2f0078805d99cb87c791c00 /src/libstd | |
| parent | b9637f79e261d0b90d23bdbce6b0a16d42868bdd (diff) | |
| parent | a0b346a34936c6ed88ad9680069c0300b0c068d8 (diff) | |
| download | rust-e1dfe3d678de05f0e5b5f1bfa9c06025a7a0fb37.tar.gz rust-e1dfe3d678de05f0e5b5f1bfa9c06025a7a0fb37.zip | |
Auto merge of #38469 - tbu-:pr_writeln_no_args, r=brson
Allow `writeln!` without arguments, in symmetry with `println!` CC #36825.
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"); /// ``` |
