clippy fix: binary comparison to literal Option::None

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
Lukas Wagner 2023-08-08 10:01:48 +02:00 committed by Wolfgang Bumiller
parent 8f7566209c
commit b6abb52a78

View File

@ -54,7 +54,7 @@ impl Iterator for SplitQuoteWord {
continue;
}
if start == None {
if start.is_none() {
start = Some(n);
}