aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-01-15 18:21:05 +0000
committerKirill Bulatov <[email protected]>2020-01-15 18:21:05 +0000
commit79b77403b65877e4d20bbbac6dd853a3beead445 (patch)
tree15d4b618885813c2c9efadd2ea0d25a7173807c8
parentd51cf7794d110b064fd0e8d53726b4608ec50d1a (diff)
Reduce visibility
-rw-r--r--crates/ra_assists/src/assist_ctx.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/assist_ctx.rs b/crates/ra_assists/src/assist_ctx.rs
index 621b9feb2..9d533fa0c 100644
--- a/crates/ra_assists/src/assist_ctx.rs
+++ b/crates/ra_assists/src/assist_ctx.rs
@@ -166,7 +166,7 @@ pub(crate) struct ActionBuilder {
166impl ActionBuilder { 166impl ActionBuilder {
167 #[allow(dead_code)] 167 #[allow(dead_code)]
168 /// Adds a custom label to the action, if it needs to be different from the assist label 168 /// Adds a custom label to the action, if it needs to be different from the assist label
169 pub fn label(&mut self, label: impl Into<String>) { 169 pub(crate) fn label(&mut self, label: impl Into<String>) {
170 self.label = Some(label.into()) 170 self.label = Some(label.into())
171 } 171 }
172 172