sensors #761
clippy
26 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 26 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
Annotations
Check warning on line 98 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:98:12
|
98 | (54.0, 1.066650, -1.62),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.066_65`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 85 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:85:12
|
85 | (34.0, 1.098930, -1.73),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.098_93`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 78 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:78:12
|
78 | (27.0, 1.112810, -2.58),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.112_81`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 29 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:29:11
|
29 | (3.6, 1.596260, -27.9),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.596_26`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 28 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:28:11
|
28 | (3.5, 1.599020, -27.4),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.599_02`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 27 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:27:11
|
27 | (3.4, 1.601730, -26.8),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.601_73`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 26 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:26:11
|
26 | (3.3, 1.604380, -26.2),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.604_38`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 25 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:25:11
|
25 | (3.2, 1.606970, -25.6),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.606_97`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 24 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:24:11
|
24 | (3.1, 1.609510, -25.1),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.609_51`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 23 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:23:11
|
23 | (3.0, 1.612000, -24.7),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.612`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 22 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:22:11
|
22 | (2.9, 1.614450, -24.4),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.614_45`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 21 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:21:11
|
21 | (2.8, 1.616870, -24.2),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.616_87`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 20 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:20:11
|
20 | (2.7, 1.619280, -24.0),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.619_28`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 19 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:19:11
|
19 | (2.6, 1.621660, -23.6),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.621_66`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 18 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:18:11
|
18 | (2.5, 1.624000, -23.2),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.624`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 17 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:17:11
|
17 | (2.4, 1.626290, -22.6),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.626_29`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 16 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:16:11
|
16 | (2.3, 1.628520, -21.9),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.628_52`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 15 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:15:11
|
15 | (2.2, 1.630670, -21.1),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.630_67`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 14 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:14:11
|
14 | (2.1, 1.632740, -20.3),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.632_74`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 13 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:13:11
|
13 | (2.0, 1.634720, -19.3),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.634_72`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 12 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:12:11
|
12 | (1.9, 1.636600, -18.3),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.636_6`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 11 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:11:11
|
11 | (1.8, 1.638370, -17.1),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.638_37`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 10 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:10:11
|
10 | (1.7, 1.640030, -16.0),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.640_03`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 9 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:9:11
|
9 | (1.6, 1.641570, -14.8),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.641_57`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision
Check warning on line 8 in src/hardware/dt670.rs
github-actions / clippy
float has excessive precision
warning: float has excessive precision
--> src/hardware/dt670.rs:8:11
|
8 | (1.5, 1.642990, -13.6),
| ^^^^^^^^ help: consider changing the type or truncating it to: `1.642_99`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision