mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-03 17:38:27 +00:00
Update comment
This commit is contained in:
parent
d9ce7f436c
commit
4fe51e94f6
@ -188,8 +188,8 @@ impl Ord for Scalar {
|
||||
|
||||
impl Hash for Scalar {
|
||||
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
|
||||
// To the best of my knowledge, this matches the `PartialEq`
|
||||
// implementation.
|
||||
// The `Eq`/`PartialEq` implementation is also using `R64`. So these
|
||||
// implementations match, as required by `Hash`.
|
||||
R64::from_inner(self.value).hash(state);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user