Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted-Jiang committed Jul 24, 2022
1 parent da14cb0 commit 24c4519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parquet/src/arrow/record_reader/definition_levels.rs
Expand Up @@ -481,7 +481,7 @@ mod tests {
decoder.read(&mut decoded, to_read_or_skip_level).unwrap();
read_level += read_level_num;
for i in 0..read_level_num {
assert!(decoded.len() > 0);
assert!(!decoded.is_empty());
//check each read bit
let read_bit = decoded.get_bit(i);
if read_bit {
Expand Down

0 comments on commit 24c4519

Please sign in to comment.