diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-12-07 17:57:58 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-12-07 17:57:58 +0100 |
| commit | 7d34d3ad78ca3db6197eee8d4f5d9e7b8876ff20 (patch) | |
| tree | 47841dc58d6a25b68c2f2abb57fe6a8e5a5e50fc /scripts | |
| parent | df7f02072b64712e5322ea70675135cb1e20bf80 (diff) | |
| parent | e05ad7f8199f0da52892d96f37c72581f1f56e87 (diff) | |
| download | rust-7d34d3ad78ca3db6197eee8d4f5d9e7b8876ff20.tar.gz rust-7d34d3ad78ca3db6197eee8d4f5d9e7b8876ff20.zip | |
Sync from rust c5c94945096265b6d675b2f55a247c4799de8d87
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cargo.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cargo.rs b/scripts/cargo.rs index 89ec8da77d3..41d82b581cd 100644 --- a/scripts/cargo.rs +++ b/scripts/cargo.rs @@ -42,7 +42,7 @@ fn main() { "RUSTFLAGS", env::var("RUSTFLAGS").unwrap_or(String::new()) + " -Cprefer-dynamic", ); - std::array::IntoIter::new(["rustc".to_string()]) + IntoIterator::into_iter(["rustc".to_string()]) .chain(env::args().skip(2)) .chain([ "--".to_string(), @@ -56,7 +56,7 @@ fn main() { "RUSTFLAGS", env::var("RUSTFLAGS").unwrap_or(String::new()) + " -Cprefer-dynamic", ); - std::array::IntoIter::new(["rustc".to_string()]) + IntoIterator::into_iter(["rustc".to_string()]) .chain(env::args().skip(2)) .chain([ "--".to_string(), |
