about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorPetr Zemek <s3rvac@gmail.com>2017-03-24 15:47:45 +0100
committerPetr Zemek <s3rvac@gmail.com>2017-03-24 15:47:45 +0100
commit432673a8ddbe5b62c8a15b7bc0141cf9a303866a (patch)
treefd9aefcae55d0276d2d1e9c0cb1c577c54252639 /src/libstd
parent9b0a4a4e97c4977aae45934d2138d8db27b16843 (diff)
downloadrust-432673a8ddbe5b62c8a15b7bc0141cf9a303866a.tar.gz
rust-432673a8ddbe5b62c8a15b7bc0141cf9a303866a.zip
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 9b0a4a4e97 (#40794), which just fixed
formatting in the description of std::process::Command::envs().
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/process.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index b57a9883afe..d46cf7a26da 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -439,6 +439,8 @@ impl Command {
     /// Basic usage:
     ///
     /// ```no_run
+    /// #![feature(command_envs)]
+    ///
     /// use std::process::{Command, Stdio};
     /// use std::env;
     /// use std::collections::HashMap;