bevy/crates/bevy_color
MichiRecRoom 66a0e74a21
Truncate the floats in bevy_color::oklaba (#17109)
# Objective
Remove the reliance on `#[allow(clippy::excessive_precision)]`.

## Solution
Remove the `#[allow(clippy::excessive_precision)]`, and truncate the
float literals to the value rustc would normally truncate them to.

## Testing
I ran `cargo test -p bevy_color`, and received no errors.
2025-01-03 22:20:51 +00:00
..
crates/gen_tests Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
docs bevy_color: Added Color Conversion Mermaid Diagram (#12147) 2024-02-27 06:03:34 +00:00
src Truncate the floats in bevy_color::oklaba (#17109) 2025-01-03 22:20:51 +00:00
Cargo.toml Fix msrvs (#17012) 2024-12-29 20:00:19 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Color

License Crates.io Downloads Docs Discord