Qualify Itertools::intersperse to fix warning
This commit is contained in:
parent
99ea540db8
commit
ce5b4fb2ac
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ impl Cri {
|
|||
}
|
||||
|
||||
fn handle_quit_command(&self, tokens: &mut SplitWhitespace<'_>) {
|
||||
let reason: String = tokens.intersperse(" ").collect();
|
||||
let reason: String = Itertools::intersperse(tokens, " ").collect();
|
||||
let reason = if reason.trim().is_empty() {
|
||||
None
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue