Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Make `Suggestion` fields public
Antonio Scandurraf7cba4cec4e2
diff --git a/crates/editor/src/display_map/suggestion_map.rs b/crates/editor/src/display_map/suggestion_map.rsindex 3e801472485..2d0225644fb 100644--- a/crates/editor/src/display_map/suggestion_map.rs+++ b/crates/editor/src/display_map/suggestion_map.rs@@ -58,9 +58,9 @@ impl SuggestionPoint {#[derive(Clone, Debug)]pub struct Suggestion<T> {- position: T,- text: Rope,- highlight_style: HighlightStyle,+ pub position: T,+ pub text: Rope,+ pub highlight_style: HighlightStyle,}pub struct SuggestionMap(Mutex<SuggestionSnapshot>);