Skip to content

Commit

Permalink
style: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag committed Mar 1, 2024
1 parent d7aec0f commit 69bdbf0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/mito2/src/row_converter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,9 @@ impl SortField {
deserializer: &mut Deserializer<&[u8]>,
) -> Result<usize> {
let pos = deserializer.position();
match bytes[pos] {
0 => {
deserializer.advance(1);
return Ok(1);
}
_ => (),
if bytes[pos] == 0 {
deserializer.advance(1);
return Ok(1);
}

let to_skip = match &self.data_type {
Expand Down

0 comments on commit 69bdbf0

Please sign in to comment.