From 79b77403b65877e4d20bbbac6dd853a3beead445 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Wed, 15 Jan 2020 20:21:05 +0200 Subject: Reduce visibility --- crates/ra_assists/src/assist_ctx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { impl ActionBuilder { #[allow(dead_code)] /// Adds a custom label to the action, if it needs to be different from the assist label - pub fn label(&mut self, label: impl Into) { + pub(crate) fn label(&mut self, label: impl Into) { self.label = Some(label.into()) } -- cgit v1.2.3