about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-16 17:09:46 +0200
committerGitHub <noreply@github.com>2019-09-16 17:09:46 +0200
commitf4ff4189ae01b6c2a775c63f24b51b708b74ec02 (patch)
tree9eebf997477a5f67bc201376cf021ce74f84408c /src/libstd
parentd8ecf45da8e6969f04d4d22f9a4f364231d205e9 (diff)
parent5355a16150a89503b67edbb3da545f8d653a4126 (diff)
downloadrust-f4ff4189ae01b6c2a775c63f24b51b708b74ec02.tar.gz
rust-f4ff4189ae01b6c2a775c63f24b51b708b74ec02.zip
Rollup merge of #64504 - guanqun:use-println-without-empty-str, r=jonas-schievink
use println!() instead of println!("")

The empty string is unnecessary.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index c50025ab7d1..b8d57cfafea 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -422,7 +422,7 @@ impl fmt::Debug for ChildStderr {
 /// // Execute `ls` in the current directory of the program.
 /// list_dir.status().expect("process failed to execute");
 ///
-/// println!("");
+/// println!();
 ///
 /// // Change `ls` to execute in the root directory.
 /// list_dir.current_dir("/");