Make all color channels f64. #1983
Annotations
2 errors and 5 warnings
rsass/src/value/colors/mod.rs#L27
you are implementing `Ord` explicitly but have derived `PartialOrd`
|
|
rsass/src/sass/functions/color/mod.rs#L133
unneeded `return` statement
|
rsass/src/sass/functions/color/mod.rs#L158
useless conversion to the same type: `f64`
|
rsass/src/value/colors/hsla.rs#L30
clamp-like pattern without using clamp function
|
rsass/src/value/colors/hwba.rs#L27
the use of negated comparison operators on partially ordered types produces code that is hard to read and refactor, please consider using the `partial_cmp` method instead, to make it clear that the two values could be incomparable
|
rsass/src/variablescope.rs#L523
this manual char comparison can be written more succinctly
|
This job failed
Loading