mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 23:02:35 +03:00
Be more explicit in closure argument naming
This commit is contained in:
parent
2c1f521653
commit
48ae3bcf74
@ -142,8 +142,8 @@ class FileOutlineView: NSOutlineView,
|
||||
|
||||
let childrenToRemoveIndices = curPreparedChildren
|
||||
.enumerated()
|
||||
.filter { newPreparedChildren.contains($0.1) == false }
|
||||
.map { $0.0 }
|
||||
.filter { (_, fileBrowserItem) in newPreparedChildren.contains(fileBrowserItem) == false }
|
||||
.map { (idx, _) in idx }
|
||||
|
||||
fileBrowserItem.children = curChildren.filter { newChildren.contains($0) }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user