diff options
-rw-r--r-- | crates/ra_assists/src/assist_ctx.rs | 2 |
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 { | |||
166 | impl ActionBuilder { | 166 | impl 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 | ||