Skip to content

Commit

Permalink
Remove unnecessary cast
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
  • Loading branch information
matthiasbeyer committed Dec 4, 2022
1 parent 293e515 commit de35a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion banyan/src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ impl CompactSeq for UnitSeq {
}
}
fn len(&self) -> usize {
self.0 as usize
self.0
}
}

Expand Down

0 comments on commit de35a90

Please sign in to comment.