diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-03-24 18:13:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-24 18:13:15 -0500 |
| commit | 0566e13ed47dec29dc6a85de0d9ce8a2d68c1501 (patch) | |
| tree | 852e810fd2470d6e9e2a4087396be2ebf0b7e55d /src/libstd | |
| parent | eb6f09ce24dd5b34936ee8fa9db963c225129cb5 (diff) | |
| parent | 432673a8ddbe5b62c8a15b7bc0141cf9a303866a (diff) | |
| download | rust-0566e13ed47dec29dc6a85de0d9ce8a2d68c1501.tar.gz rust-0566e13ed47dec29dc6a85de0d9ce8a2d68c1501.zip | |
Rollup merge of #40794 - s3rvac:fix-formatting-in-command-envs-docs, r=steveklabnik
Fix formatting in the docs for std::process::Command::envs() An empty line between the *Basic usage:* text and the example is required to properly format the code. Without the empty line, the example is not formatted as code. [Here](https://doc.rust-lang.org/std/process/struct.Command.html#method.envs) you can see the current (improper) formatting.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/process.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 7a85e588662..d46cf7a26da 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -437,7 +437,10 @@ impl Command { /// # Examples /// /// Basic usage: + /// /// ```no_run + /// #![feature(command_envs)] + /// /// use std::process::{Command, Stdio}; /// use std::env; /// use std::collections::HashMap; |
