From f7cba4cec4e21c1642b3e55d2968cf1f09d9203b Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 21 Mar 2023 16:51:33 +0100 Subject: [PATCH] Make `Suggestion` fields public --- crates/editor/src/display_map/suggestion_map.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/editor/src/display_map/suggestion_map.rs b/crates/editor/src/display_map/suggestion_map.rs index 3e80147248..2d0225644f 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 { - position: T, - text: Rope, - highlight_style: HighlightStyle, + pub position: T, + pub text: Rope, + pub highlight_style: HighlightStyle, } pub struct SuggestionMap(Mutex);