close-tab: style-fixes

pull/8389/head
Jeffrey C. Ollie 2025-08-25 11:56:17 -05:00
parent 52a25e9c69
commit e98e868265
No known key found for this signature in database
GPG Key ID: 6F86035A6D97044E
1 changed files with 2 additions and 6 deletions

View File

@ -352,12 +352,8 @@ pub const Tab = extern struct {
// Delegate to our parent to handle this, since this will emit
// a close-page signal that the parent can intercept.
switch (mode) {
.this => {
tab_view.closePage(page);
},
.other => {
log.warn("close-tab:other is not implemented", .{});
},
.this => tab_view.closePage(page),
.other => log.warn("close-tab:other is not implemented", .{}),
}
}