migrate many for loops to foreach
This commit is contained in:
parent
5f59c46e0f
commit
1fc4db2d08
255 changed files with 1292 additions and 1294 deletions
|
|
@ -26,7 +26,7 @@ pub fn each_pkg_parent_workspace(pkgid: &PkgId, action: &fn(&Path) -> bool) -> b
|
|||
pkgid.remote_path.to_str(),
|
||||
rust_path().to_str());
|
||||
}
|
||||
for workspaces.iter().advance |ws| {
|
||||
foreach ws in workspaces.iter() {
|
||||
if action(ws) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue