build(deps): bump arboard from 3.2.1 to 3.3.0 #113
test.yml
on: pull_request
ubuntu / stable / minimal-versions
51s
ubuntu / stable / coverage
51s
Matrix: os-check
Matrix: required
Annotations
2 errors
use of `format!` to build up a string from an iterator:
src/label.rs#L207
error: use of `format!` to build up a string from an iterator
--> src/label.rs:207:23
|
207 | self.binary = bytes
| _______________________^
208 | | .iter()
209 | | .map(|byte| format!("{byte:08b}"))
210 | | .collect::<String>()
| |________________________________^
|
help: call `fold` instead
--> src/label.rs:209:14
|
209 | .map(|byte| format!("{byte:08b}"))
| ^^^
help: ... and use the `write!` macro here
--> src/label.rs:209:25
|
209 | .map(|byte| format!("{byte:08b}"))
| ^^^^^^^^^^^^^^^^^^^^^
= note: this can be written more efficiently by appending to a `String` directly
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_collect
= note: `-D clippy::format-collect` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::format_collect)]`
|
use of `format!` to build up a string from an iterator:
src/label.rs#L207
error: use of `format!` to build up a string from an iterator
--> src/label.rs:207:23
|
207 | self.binary = bytes
| _______________________^
208 | | .iter()
209 | | .map(|byte| format!("{byte:08b}"))
210 | | .collect::<String>()
| |________________________________^
|
help: call `fold` instead
--> src/label.rs:209:14
|
209 | .map(|byte| format!("{byte:08b}"))
| ^^^
help: ... and use the `write!` macro here
--> src/label.rs:209:25
|
209 | .map(|byte| format!("{byte:08b}"))
| ^^^^^^^^^^^^^^^^^^^^^
= note: this can be written more efficiently by appending to a `String` directly
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_collect
= note: `-D clippy::format-collect` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::format_collect)]`
|