diff options
author | Canop <cano.petrole@gmail.com> | 2021-05-02 10:33:02 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2021-05-02 10:33:02 +0200 |
commit | 57277840522e463546476c0bda34314b9e9b2c21 (patch) | |
tree | 47948abdf30325fbb3b46d477764ba1806009d6d /src/command | |
parent | 3f0aaec6f119ec7957bae56d883af04738d9f2ef (diff) |
spill some blood for the Clippy god
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/completion.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/completion.rs b/src/command/completion.rs index d9d8ef1..1719791 100644 --- a/src/command/completion.rs +++ b/src/command/completion.rs @@ -184,7 +184,7 @@ impl Completions { return Self::None; } }; - for ol in lists.next() { + for ol in lists { list = list.iter().filter(|c| ol.contains(c)).cloned().collect(); if list.is_empty() { break; |