doc: intro should be 1 sentence

Also, do not repeat name of type
This commit is contained in:
Tshepang Lekhonkhobe 2016-06-09 23:23:08 +02:00
parent 33c8992b80
commit 3dfc8c1869

View File

@ -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: