mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-05 01:50:42 +00:00
Apply suggestions from code review
This commit is contained in:
@@ -162,7 +162,7 @@ impl FastValue for f64 {
|
||||
|
||||
impl FastValue for bool {
|
||||
fn from_u64(val: u64) -> Self {
|
||||
!matches!(val, 0)
|
||||
val != 0u64
|
||||
}
|
||||
|
||||
fn to_u64(&self) -> u64 {
|
||||
|
||||
Reference in New Issue
Block a user