Use the now available implementation of IntoIterator
for arrays
This commit is contained in:
parent
a216131c35
commit
e3ca81fd5a
17 changed files with 34 additions and 34 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue