aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-06 17:38:56 +0000
committerAleksey Kladov <[email protected]>2020-03-06 17:38:56 +0000
commit80909f7698edd972e7bb7e3b255c9a12d78cd9a6 (patch)
treec6433fc26f3557a358696f7b66734ce4688fa988 /crates
parent95a2755aa80aaf9119e172f6b2a61eeb04653eba (diff)
Don't creat public APIs with typos
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide/src/completion/presentation.rs2
-rw-r--r--crates/ra_ide_db/src/feature_flags.rs2
2 files changed, 2 insertions, 2 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(
diff --git a/crates/ra_ide_db/src/feature_flags.rs b/crates/ra_ide_db/src/feature_flags.rs
index 74a3a1cd9..968415072 100644
--- a/crates/ra_ide_db/src/feature_flags.rs
+++ b/crates/ra_ide_db/src/feature_flags.rs
@@ -54,7 +54,7 @@ impl Default for FeatureFlags {
54 FeatureFlags::new(&[ 54 FeatureFlags::new(&[
55 ("lsp.diagnostics", true), 55 ("lsp.diagnostics", true),
56 ("completion.insertion.add-call-parenthesis", true), 56 ("completion.insertion.add-call-parenthesis", true),
57 ("completion.insertion.add-argument-sippets", true), 57 ("completion.insertion.add-argument-snippets", true),
58 ("completion.enable-postfix", true), 58 ("completion.enable-postfix", true),
59 ("call-info.full", true), 59 ("call-info.full", true),
60 ("notifications.workspace-loaded", true), 60 ("notifications.workspace-loaded", true),