From 80909f7698edd972e7bb7e3b255c9a12d78cd9a6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 6 Mar 2020 18:38:56 +0100 Subject: Don't creat public APIs with typos --- crates/ra_ide/src/completion/presentation.rs | 2 +- crates/ra_ide_db/src/feature_flags.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') 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 { let snippet = if ctx .db .feature_flags - .get("completion.insertion.add-argument-sippets") + .get("completion.insertion.add-argument-snippets") { let to_skip = if has_self_param { 1 } else { 0 }; 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 { FeatureFlags::new(&[ ("lsp.diagnostics", true), ("completion.insertion.add-call-parenthesis", true), - ("completion.insertion.add-argument-sippets", true), + ("completion.insertion.add-argument-snippets", true), ("completion.enable-postfix", true), ("call-info.full", true), ("notifications.workspace-loaded", true), -- cgit v1.2.3