Make `Suggestion` fields public

Antonio Scandurra created

Change summary

crates/editor/src/display_map/suggestion_map.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Detailed changes

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>);