about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crates/ide_completion/src/render/compound.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_completion/src/render/compound.rs b/crates/ide_completion/src/render/compound.rs
index 586bb92a8ec..c1047e9b624 100644
--- a/crates/ide_completion/src/render/compound.rs
+++ b/crates/ide_completion/src/render/compound.rs
@@ -9,8 +9,8 @@ use itertools::Itertools;
 /// auto-completion (`literal`, using `field: ()`) and display in the
 /// completions menu (`detail`, using `field: type`).
 pub(crate) struct RenderedCompound {
-    pub literal: String,
-    pub detail: String,
+    pub(crate) literal: String,
+    pub(crate) detail: String,
 }
 
 /// Render a record type (or sub-type) to a `RenderedCompound`. Use `None` for