Skip to content

fix: update time-rs crate (#254) #293

fix: update time-rs crate (#254)

fix: update time-rs crate (#254) #293

GitHub Actions / clippy succeeded Sep 26, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.83.0-nightly (363ae4188 2024-09-24)
  • cargo 1.83.0-nightly (eaee77dc1 2024-09-19)
  • clippy 0.1.82 (363ae41 2024-09-24)

Annotations

Check warning on line 405 in src/font.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

usage of a legacy numeric constant

warning: usage of a legacy numeric constant
   --> src/font.rs:405:25
    |
405 |                 if v <= std::f32::EPSILON {
    |                         ^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
    = note: `#[warn(clippy::legacy_numeric_constants)]` on by default
help: use the associated constant instead
    |
405 |                 if v <= f32::EPSILON {
    |                         ~~~~~~~~~~~~