about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-09-03 12:36:33 +0200
committerMara Bos <m-ou.se@m-ou.se>2021-12-04 19:40:33 +0100
commit1acb44f03cd82c15c66f43abcc4b396378a0cc5d (patch)
tree600709b4d31b26f9b0625c61ea8aeabd35a755bc /src/bootstrap
parentb34cf1a9e176e3ca525638e9075696d8467596ba (diff)
downloadrust-1acb44f03cd82c15c66f43abcc4b396378a0cc5d.tar.gz
rust-1acb44f03cd82c15c66f43abcc4b396378a0cc5d.zip
Use IntoIterator for array impl everywhere.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 1667dfc3f85..82462f9758e 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -1043,7 +1043,7 @@ impl Build {
             options[1] = Some(format!("-Clink-arg=-Wl,{}", threads));
         }
 
-        std::array::IntoIter::new(options).flatten()
+        IntoIterator::into_iter(options).flatten()
     }
 
     /// Returns if this target should statically link the C runtime, if specified