fix(hal_x86_64): remove tracing in timer ISR #1412
Annotations
7 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
cargo clippy:
src/shell.rs#L540
warning: single-character string constant used as pattern
--> src/shell.rs:540:61
|
540 | let (chunk, rest) = match self.command().split_once(" ") {
| ^^^ help: try using a `char` instead: `' '`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
= note: `#[warn(clippy::single_char_pattern)]` on by default
|
cargo clippy:
src/shell.rs#L589
warning: single-character string constant used as pattern
--> src/shell.rs:589:66
|
589 | let (chunk, rest) = match rest.trim().split_once(" ") {
| ^^^ help: try using a `char` instead: `' '`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
|
cargo clippy:
src/shell.rs#L637
warning: unnecessary closure used to substitute value for `Option::None`
--> src/shell.rs:637:13
|
637 | / val.ok_or_else(|| Error {
638 | | line: self.line,
639 | | kind: ErrorKind::FlagRequired { flags: names },
640 | | })
| |______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
help: use `ok_or(..)` instead
|
637 ~ val.ok_or(Error {
638 + line: self.line,
639 + kind: ErrorKind::FlagRequired { flags: names },
640 + })
|
|
cargo clippy:
src/shell.rs#L540
warning: single-character string constant used as pattern
--> src/shell.rs:540:61
|
540 | let (chunk, rest) = match self.command().split_once(" ") {
| ^^^ help: try using a `char` instead: `' '`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
= note: `#[warn(clippy::single_char_pattern)]` on by default
|
cargo clippy:
src/shell.rs#L589
warning: single-character string constant used as pattern
--> src/shell.rs:589:66
|
589 | let (chunk, rest) = match rest.trim().split_once(" ") {
| ^^^ help: try using a `char` instead: `' '`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
|
cargo clippy:
src/shell.rs#L637
warning: unnecessary closure used to substitute value for `Option::None`
--> src/shell.rs:637:13
|
637 | / val.ok_or_else(|| Error {
638 | | line: self.line,
639 | | kind: ErrorKind::FlagRequired { flags: names },
640 | | })
| |______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
help: use `ok_or(..)` instead
|
637 ~ val.ok_or(Error {
638 + line: self.line,
639 + kind: ErrorKind::FlagRequired { flags: names },
640 + })
|
|
Loading