Remove unneeded type qualification

This commit is contained in:
Marshall Bowers 2023-11-03 16:40:46 -04:00
parent 1361b61708
commit b5224bdafd

View file

@ -1366,7 +1366,7 @@ impl Pane {
.id(item.id())
.invisible()
.group_hover("", |style| style.visible())
.child(IconButton::<Self>::new("close_tab", Icon::Close).on_click(
.child(IconButton::new("close_tab", Icon::Close).on_click(
move |pane: &mut Self, cx| {
pane.close_item_by_id(id, SaveIntent::Close, cx)
.detach_and_log_err(cx);