Auto merge of #7889 - ehuss:fix-env_args-doc, r=Eh2406

Fix inaccurate doc comment on `env_args`.
This commit is contained in:
bors 2020-02-16 19:50:13 +00:00
commit 1fa0f1b98f

View File

@ -367,12 +367,12 @@ fn output_err_info(cmd: &ProcessBuilder, stdout: &str, stderr: &str) -> String {
/// ///
/// then if this was not found /// then if this was not found
/// ///
/// - `target.*.rustflags` from the manifest (Cargo.toml) /// - `target.*.rustflags` from the config (.cargo/config)
/// - `target.cfg(..).rustflags` from the manifest /// - `target.cfg(..).rustflags` from the config
/// ///
/// then if neither of these were found /// then if neither of these were found
/// ///
/// - `build.rustflags` from the manifest /// - `build.rustflags` from the config
/// ///
/// Note that if a `target` is specified, no args will be passed to host code (plugins, build /// Note that if a `target` is specified, no args will be passed to host code (plugins, build
/// scripts, ...), even if it is the same as the target. /// scripts, ...), even if it is the same as the target.