diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-06-14 23:40:09 +0200 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-06-14 23:40:09 +0200 |
| commit | e3ca81fd5a33406078db0fc7f5f1c47ccfcd58b8 (patch) | |
| tree | ef305e0bbcf029d6a67b38be2fe77d0756ad29a1 /compiler/rustc_passes/src | |
| parent | a216131c3566858b78f45ccc0c36b5578f5c5155 (diff) | |
| download | rust-e3ca81fd5a33406078db0fc7f5f1c47ccfcd58b8.tar.gz rust-e3ca81fd5a33406078db0fc7f5f1c47ccfcd58b8.zip | |
Use the now available implementation of `IntoIterator` for arrays
Diffstat (limited to 'compiler/rustc_passes/src')
| -rw-r--r-- | compiler/rustc_passes/src/stability.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_passes/src/stability.rs b/compiler/rustc_passes/src/stability.rs index f41e0e03706..ca9b83876b4 100644 --- a/compiler/rustc_passes/src/stability.rs +++ b/compiler/rustc_passes/src/stability.rs @@ -938,7 +938,7 @@ pub fn check_unused_or_stable_features(tcx: TyCtxt<'_>) { if !remaining_lib_features.is_empty() { check_features(&mut remaining_lib_features, &local_defined_features); - for &cnum in &*tcx.crates() { + for &cnum in tcx.crates() { if remaining_lib_features.is_empty() { break; } |
