Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
editor: Strip trailing newlines from completion documentation (#45342)
Mayank Verma596826f74113
diff --git a/crates/editor/src/code_context_menus.rs b/crates/editor/src/code_context_menus.rsindex 2336a38fa77..96739defc50 100644--- a/crates/editor/src/code_context_menus.rs+++ b/crates/editor/src/code_context_menus.rs@@ -893,7 +893,7 @@ impl CompletionsMenu {None} else {Some(- Label::new(text.clone())+ Label::new(text.trim().to_string()).ml_4().size(LabelSize::Small).color(Color::Muted),