We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NaN
1 parent 48393ab commit d12fbb9Copy full SHA for d12fbb9
src/number.rs
@@ -54,7 +54,7 @@ impl core::hash::Hash for N {
54
N::PosInt(i) => i.hash(h),
55
N::NegInt(i) => i.hash(h),
56
N::Float(f) => {
57
- // Using `f64::to_bits` here is fine since any float values are never `Nan`.
+ // Using `f64::to_bits` here is fine since any float values are never `NaN`.
58
f.to_bits().hash(h);
59
}
60
0 commit comments