diff options
Diffstat (limited to 'sq/src/commands/keyring.rs')
-rw-r--r-- | sq/src/commands/keyring.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sq/src/commands/keyring.rs b/sq/src/commands/keyring.rs index a0fc92d2..51c5dd13 100644 --- a/sq/src/commands/keyring.rs +++ b/sq/src/commands/keyring.rs @@ -389,7 +389,7 @@ fn to_filename_fragment<S: AsRef<str>>(s: S) -> Option<String> { _ => None, }).for_each(|c| r.push(c)); - if r.len() > 0 { + if !r.is_empty() { Some(r) } else { None |