-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why not impl<T> Borrow<T> for NonNan<T>
?
#98
Comments
Fixed in bfabcc9. However, this has limited use because:
|
I think this is useful for the extremely rare cases where you use float as keys for range queries in data structures like btreemultimap. |
Unfortunately, I think that fails for the same reason. pub fn range<T: ?Sized, R>(&self, range: R) -> MultiRange<'_, K, V>
where
T: Ord,
K: Borrow<T>,
R: RangeBounds<T>, When |
It seems we can satisfy the following behavior as long as we exclude NAN:
The text was updated successfully, but these errors were encountered: