Skip to content

Commit 432673a

Browse files
committed
Add a missing feature attribute to the example for std::process::Command::envs().
The person who originally wrote the example forgot to include this attribute. This caused Travis CI to fail on commit 9b0a4a4 (#40794), which just fixed formatting in the description of std::process::Command::envs().
1 parent 9b0a4a4 commit 432673a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/process.rs

+2
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ impl Command {
439439
/// Basic usage:
440440
///
441441
/// ```no_run
442+
/// #![feature(command_envs)]
443+
///
442444
/// use std::process::{Command, Stdio};
443445
/// use std::env;
444446
/// use std::collections::HashMap;

0 commit comments

Comments
 (0)