Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove unneeded type qualification

Marshall Bowersb5224bdafd54
diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rs
index 0c2ee5f46e9..3cc9a8b5f2e 100644
--- a/crates/workspace2/src/pane.rs
+++ b/crates/workspace2/src/pane.rs
@@ -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);