diff options
author | Lukas Wirth <[email protected]> | 2021-05-10 20:03:50 +0100 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-05-10 20:14:59 +0100 |
commit | 6a8d47e7f05545de335107262ceca2ef1742888f (patch) | |
tree | cc0296591c62cd3e1bb67f083a3869b6bee71e1b /crates/rust-analyzer/src/integrated_benchmarks.rs | |
parent | 07cea5e709f8232b27de646cee67bf1d3f7279c9 (diff) |
Give MergeBehaviour variants better names
Diffstat (limited to 'crates/rust-analyzer/src/integrated_benchmarks.rs')
-rw-r--r-- | crates/rust-analyzer/src/integrated_benchmarks.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/integrated_benchmarks.rs b/crates/rust-analyzer/src/integrated_benchmarks.rs index 3dcbe397a..56de9681c 100644 --- a/crates/rust-analyzer/src/integrated_benchmarks.rs +++ b/crates/rust-analyzer/src/integrated_benchmarks.rs | |||
@@ -133,7 +133,7 @@ fn integrated_completion_benchmark() { | |||
133 | add_call_argument_snippets: true, | 133 | add_call_argument_snippets: true, |
134 | snippet_cap: SnippetCap::new(true), | 134 | snippet_cap: SnippetCap::new(true), |
135 | insert_use: InsertUseConfig { | 135 | insert_use: InsertUseConfig { |
136 | merge: Some(MergeBehavior::Full), | 136 | merge: Some(MergeBehavior::Crate), |
137 | prefix_kind: hir::PrefixKind::ByCrate, | 137 | prefix_kind: hir::PrefixKind::ByCrate, |
138 | group: true, | 138 | group: true, |
139 | }, | 139 | }, |
@@ -166,7 +166,7 @@ fn integrated_completion_benchmark() { | |||
166 | add_call_argument_snippets: true, | 166 | add_call_argument_snippets: true, |
167 | snippet_cap: SnippetCap::new(true), | 167 | snippet_cap: SnippetCap::new(true), |
168 | insert_use: InsertUseConfig { | 168 | insert_use: InsertUseConfig { |
169 | merge: Some(MergeBehavior::Full), | 169 | merge: Some(MergeBehavior::Crate), |
170 | prefix_kind: hir::PrefixKind::ByCrate, | 170 | prefix_kind: hir::PrefixKind::ByCrate, |
171 | group: true, | 171 | group: true, |
172 | }, | 172 | }, |