aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-06 17:41:53 +0000
committerGitHub <[email protected]>2020-03-06 17:41:53 +0000
commita42f29166b2b771927fef6061dd427f82eb28d68 (patch)
treec6433fc26f3557a358696f7b66734ce4688fa988 /crates/ra_ide
parent8e8c5a73ff3b26a7c919fee6caa3212dca9c6ba5 (diff)
parent80909f7698edd972e7bb7e3b255c9a12d78cd9a6 (diff)
Merge #3500
3500: Don't creat public APIs with typos r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/completion/presentation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/completion/presentation.rs b/crates/ra_ide/src/completion/presentation.rs
index d6196a5ce..aada4d025 100644
--- a/crates/ra_ide/src/completion/presentation.rs
+++ b/crates/ra_ide/src/completion/presentation.rs
@@ -225,7 +225,7 @@ impl Completions {
225 let snippet = if ctx 225 let snippet = if ctx
226 .db 226 .db
227 .feature_flags 227 .feature_flags
228 .get("completion.insertion.add-argument-sippets") 228 .get("completion.insertion.add-argument-snippets")
229 { 229 {
230 let to_skip = if has_self_param { 1 } else { 0 }; 230 let to_skip = if has_self_param { 1 } else { 0 };
231 let function_params_snippet = join( 231 let function_params_snippet = join(