Deps #1281
Annotations
21 warnings
labeler
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/labeler@v3. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
labeler
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/labeler@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/lockin.rs#L224
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/lockin.rs:224:5
|
224 | stream: StreamTarget,
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
224 | mapstream: StreamTarget,
| ~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/lockin.rs#L215
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/lockin.rs:215:5
|
215 | telemetry_period: u16,
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
215 | maptelemetry_period: u16,
| ~~~~~~~~~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/lockin.rs#L194
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/lockin.rs:194:5
|
194 | lockin_phase: i32,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
194 | lockin_phasemap: i32,
| ~~~~~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/lockin.rs#L184
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/lockin.rs:184:5
|
184 | lockin_harmonic: i32,
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
184 | lockin_harmonicmap: i32,
| ~~~~~~~~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/lockin.rs#L175
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/lockin.rs:175:5
|
175 | lockin_k: <Lowpass<2> as Filter>::Config,
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
175 | lockin_kmap: <Lowpass<2> as Filter>::Config,
| ~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/lockin.rs#L166
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/lockin.rs:166:5
|
166 | pll_tc: [u32; 2],
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
166 | mappll_tc: [u32; 2],
| ~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/lockin.rs#L155
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/lockin.rs:155:5
|
155 | lockin_mode: LockinMode,
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
= note: `#[warn(clippy::bind_instead_of_map)]` on by default
help: try
|
155 | lockin_modemap: LockinMode,
| ~~~~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/dual-iir.rs#L169
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/dual-iir.rs:169:5
|
169 | stream: StreamTarget,
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
169 | mapstream: StreamTarget,
| ~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/dual-iir.rs#L160
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/dual-iir.rs:160:5
|
160 | telemetry_period: u16,
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
160 | maptelemetry_period: u16,
| ~~~~~~~~~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/dual-iir.rs#L151
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/dual-iir.rs:151:5
|
151 | force_hold: bool,
| ^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
151 | force_holdmap: bool,
| ~~~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/bin/dual-iir.rs#L142
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/bin/dual-iir.rs:142:5
|
142 | allow_hold: bool,
| ^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
= note: `#[warn(clippy::bind_instead_of_map)]` on by default
help: try
|
142 | allow_holdmap: bool,
| ~~~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/settings.rs#L50
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/settings.rs:50:9
|
50 | pub ip: String<15>,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
50 | pub ipmap: String<15>,
| ~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/settings.rs#L46
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/settings.rs:46:9
|
46 | pub id: String<23>,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
46 | pub idmap: String<23>,
| ~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/settings.rs#L43
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/settings.rs:43:9
|
43 | pub broker: String<255>,
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
43 | pub brokermap: String<255>,
| ~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/hardware/signal_generator.rs#L40
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/hardware/signal_generator.rs:40:9
|
40 | pub phase: f32,
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
40 | pub mapphase: f32,
| ~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/hardware/signal_generator.rs#L37
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/hardware/signal_generator.rs:37:9
|
37 | pub amplitude: f32,
| ^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
37 | pub amplitudemap: f32,
| ~~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/hardware/signal_generator.rs#L34
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/hardware/signal_generator.rs:34:9
|
34 | pub symmetry: f32,
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
34 | pub mapsymmetry: f32,
| ~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/hardware/signal_generator.rs#L29
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/hardware/signal_generator.rs:29:9
|
29 | pub frequency: f32,
| ^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
help: try
|
29 | pub frequencymap: f32,
| ~~~~~~~~~
|
using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`:
src/hardware/signal_generator.rs#L26
warning: using `Result.and_then(|x| Ok(y))`, which is more succinctly expressed as `map(|x| y)`
--> src/hardware/signal_generator.rs:26:9
|
26 | pub signal: Signal,
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
= note: `#[warn(clippy::bind_instead_of_map)]` on by default
help: try
|
26 | pub mapsignal: Signal,
| ~~~~~~
|