You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is for consistency in naming conventions.
- ``std::num::Float::NaN()`` is changed to ``nan()``;
- ``std::num::Float.is_NaN()`` is changed to ``is_nan()``; and
- ``std::num::strconv::NumStrConv::NaN()`` is changed to ``nan()``.
Fixes#9319.
fix [`derive_partial_eq_without_eq`] FP on trait projection
fixes: rust-lang#9413rust-lang#9319
---
changelog: fix [`derive_partial_eq_without_eq`] FP on trait projection
Well, this is awkward, it works but I don't understand why, why `clippy_utils::ty::implements_trait` couldn't detects the existance of `Eq` trait, even thought it's obviously present in the derive attribute.
For consistency in naming convention:
Float::NaN()
should be namedFloat::nan()
;Float.is_NaN()
should be namedFloat.is_nan()
; andNumStrConv::NaN()
should be namedNumStrConv::nan()
.(I'm am at present doing this.)
The text was updated successfully, but these errors were encountered: