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.

editor: Remove extra quotes from outline search term (#29829)

Aaron Feickertda3a696a60a9
diff --git a/crates/outline_panel/src/outline_panel.rs b/crates/outline_panel/src/outline_panel.rs
index b9f07280c35..026fa45b711 100644
--- a/crates/outline_panel/src/outline_panel.rs
+++ b/crates/outline_panel/src/outline_panel.rs
@@ -4962,7 +4962,7 @@ impl Render for OutlinePanel {
.border_color(cx.theme().colors().border)
.gap_0p5()
.child(Label::new("Searching:").color(Color::Muted))
- .child(Label::new(format!("'{}'", search_state.query))),
+ .child(Label::new(search_state.query.to_string())),
)
})
.child(self.render_main_contents(query, show_indent_guides, indent_size, window, cx))