about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2016-06-09 23:23:08 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2016-06-09 23:23:09 +0200
commit3dfc8c186919140767671c9d56e751c89710e355 (patch)
treef9ead7aa8dbde436d264b929814a3da60e2771d5
parent33c8992b8033f9f5797f722c3ba8f423fa0a2302 (diff)
downloadrust-3dfc8c186919140767671c9d56e751c89710e355.tar.gz
rust-3dfc8c186919140767671c9d56e751c89710e355.zip
doc: intro should be 1 sentence
Also, do not repeat name of type
-rw-r--r--src/libstd/process.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 3ce9bcc79f2..96ddda32ae4 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -182,8 +182,10 @@ impl FromInner<AnonPipe> for ChildStderr {
     }
 }
 
-/// The `Command` type acts as a process builder, providing fine-grained control
-/// over how a new process should be spawned. A default configuration can be
+/// A process builder, providing fine-grained control
+/// over how a new process should be spawned.
+///
+/// A default configuration can be
 /// generated using `Command::new(program)`, where `program` gives a path to the
 /// program to be executed. Additional builder methods allow the configuration
 /// to be changed (for example, by adding arguments) prior to spawning: