Apply suggestions from code review

This commit is contained in:
Paul Masurel
2022-06-21 15:52:43 +09:00
committed by GitHub
parent 1440f3243b
commit f21b73d1f6

View File

@@ -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 {