diff options
Diffstat (limited to 'sq/src/commands/dump.rs')
-rw-r--r-- | sq/src/commands/dump.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sq/src/commands/dump.rs b/sq/src/commands/dump.rs index 5cbd55cb..efc701f5 100644 --- a/sq/src/commands/dump.rs +++ b/sq/src/commands/dump.rs @@ -941,7 +941,7 @@ impl PacketDumper { fn dump_mpis(&self, output: &mut dyn io::Write, i: &str, chunks: &[&[u8]], keys: &[&str]) -> Result<()> { assert_eq!(chunks.len(), keys.len()); - if chunks.len() == 0 { + if chunks.is_empty() { return Ok(()); } |