fix: editor.close now takes only a single parameter

imgbot
Blaž Hrastnik 3 years ago
parent 6cb35d28a8
commit dd98727bad

@ -2121,7 +2121,7 @@ mod cmd {
let views: Vec<_> = cx.editor.tree.views().map(|(view, _)| view.id).collect(); let views: Vec<_> = cx.editor.tree.views().map(|(view, _)| view.id).collect();
for view_id in views { for view_id in views {
cx.editor.close(view_id, false); cx.editor.close(view_id);
} }
Ok(()) Ok(())

Loading…
Cancel
Save