Replace uses of forEach with for-in loops.

This commit is contained in:
Brent Simmons committed 2023-07-09 22:14:09 -07:00
1 parent 090e63b017
commit abb11afe3d
6 files changed
+43 -35

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ import Account
private static func addFolderItemsToMenuWithNodes(menu: NSMenu, nodes: [Node], indentationLevel: Int) {
nodes.forEach { (oneNode) in
for oneNode in nodes {
if let nameProvider = oneNode.representedObject as? DisplayNameProvider {