diff options
Diffstat (limited to 'crates/ra_cli/src')
-rw-r--r-- | crates/ra_cli/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_cli/src/main.rs b/crates/ra_cli/src/main.rs index 7aacf515d..8b91ba3e9 100644 --- a/crates/ra_cli/src/main.rs +++ b/crates/ra_cli/src/main.rs | |||
@@ -93,7 +93,7 @@ fn main() -> Result<()> { | |||
93 | (true, true) => Err("Invalid flags: -q conflicts with -v")?, | 93 | (true, true) => Err("Invalid flags: -q conflicts with -v")?, |
94 | }; | 94 | }; |
95 | let memory_usage = matches.contains("--memory-usage"); | 95 | let memory_usage = matches.contains("--memory-usage"); |
96 | let only = matches.value_from_str(["-o", "--only"])?.map(|v: String| v.to_owned()); | 96 | let only: Option<String> = matches.value_from_str(["-o", "--only"])?; |
97 | let path = { | 97 | let path = { |
98 | let mut trailing = matches.free()?; | 98 | let mut trailing = matches.free()?; |
99 | if trailing.len() != 1 { | 99 | if trailing.len() != 1 { |