Various minor/cosmetic improvements to code
This commit is contained in:
@@ -131,7 +131,7 @@ fn handle_ebadf<T>(r: io::Result<T>, default: T) -> io::Result<T> {
|
||||
///
|
||||
/// Each handle is a shared reference to a global buffer of input data to this
|
||||
/// process. A handle can be `lock`'d to gain full access to [`BufRead`] methods
|
||||
/// (e.g. `.lines()`). Reads to this handle are otherwise locked with respect
|
||||
/// (e.g., `.lines()`). Reads to this handle are otherwise locked with respect
|
||||
/// to other reads.
|
||||
///
|
||||
/// This handle implements the `Read` trait, but beware that concurrent reads
|
||||
@@ -269,7 +269,7 @@ impl Stdin {
|
||||
///
|
||||
/// You can run the example one of two ways:
|
||||
///
|
||||
/// - Pipe some text to it, e.g. `printf foo | path/to/executable`
|
||||
/// - Pipe some text to it, e.g., `printf foo | path/to/executable`
|
||||
/// - Give it text interactively by running the executable directly,
|
||||
/// in which case it will wait for the Enter key to be pressed before
|
||||
/// continuing
|
||||
|
||||
Reference in New Issue
Block a user