Continuous Integration #4531
Annotations
1 error and 87 warnings
doc
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L434
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:434:66
|
434 | let value = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L384
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:384:70
|
384 | let mut check = match postcard::get_by_key(defaults, &key, slic)
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L305
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:305:58
|
305 | match postcard::set_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L276
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:276:65
|
276 | let slic = match postcard::get_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L261
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:261:66
|
261 | let check = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L218
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:218:66
|
218 | ... match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L212
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:212:62
|
212 | match postcard::set_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L176
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:176:50
|
176 | match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L147
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:147:54
|
147 | match json::get_by_key(settings, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L98
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:98:29
|
98 | match iter.root(&Path::<_, '/'>::from(key)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Path::<_, '/'>::from(key)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
compile (beta, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
compile (beta, true)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
compile (beta, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (beta, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (beta, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (beta, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (stable, false)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
compile (stable, false)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
compile (stable, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (stable, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (stable, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (stable, false)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (nightly, nightly, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
compile (nightly, nightly, true)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
compile (nightly, nightly, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (nightly, nightly, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (nightly, nightly, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
compile (nightly, nightly, true)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1, actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
style
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1, actions/setup-python@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
doc
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
doc
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, peaceiris/actions-mdbook@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
doc
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
doc
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
doc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
doc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
doc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
doc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
doc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
hitl-trigger
The following actions uses node12 which is deprecated and will be forced to run on node16: LouisBrunner/[email protected], peter-evans/repository-dispatch@v1, fountainhead/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
hitl-trigger
The following actions use a deprecated Node.js version and will be forced to run on node20: LouisBrunner/[email protected], peter-evans/repository-dispatch@v1, fountainhead/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
hitl-trigger
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
hitl-trigger
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L434
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:434:66
|
434 | let value = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L384
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:384:70
|
384 | let mut check = match postcard::get_by_key(defaults, &key, slic)
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L305
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:305:58
|
305 | match postcard::set_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L276
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:276:65
|
276 | let slic = match postcard::get_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L261
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:261:66
|
261 | let check = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L218
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:218:66
|
218 | ... match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L212
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:212:62
|
212 | match postcard::set_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L176
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:176:50
|
176 | match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L147
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:147:54
|
147 | match json::get_by_key(settings, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L98
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:98:29
|
98 | match iter.root(&Path::<_, '/'>::from(key)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Path::<_, '/'>::from(key)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L434
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:434:66
|
434 | let value = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L384
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:384:70
|
384 | let mut check = match postcard::get_by_key(defaults, &key, slic)
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L305
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:305:58
|
305 | match postcard::set_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L276
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:276:65
|
276 | let slic = match postcard::get_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L261
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:261:66
|
261 | let check = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L218
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:218:66
|
218 | ... match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L212
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:212:62
|
212 | match postcard::set_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L176
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:176:50
|
176 | match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L147
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:147:54
|
147 | match json::get_by_key(settings, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L98
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:98:29
|
98 | match iter.root(&Path::<_, '/'>::from(key)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Path::<_, '/'>::from(key)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L434
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:434:66
|
434 | let value = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L384
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:384:70
|
384 | let mut check = match postcard::get_by_key(defaults, &key, slic)
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L305
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:305:58
|
305 | match postcard::set_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L276
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:276:65
|
276 | let slic = match postcard::get_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L261
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:261:66
|
261 | let check = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L218
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:218:66
|
218 | ... match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L212
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:212:62
|
212 | match postcard::set_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L176
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:176:50
|
176 | match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L147
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:147:54
|
147 | match json::get_by_key(settings, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L98
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:98:29
|
98 | match iter.root(&Path::<_, '/'>::from(key)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Path::<_, '/'>::from(key)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L434
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:434:66
|
434 | let value = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L384
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:384:70
|
384 | let mut check = match postcard::get_by_key(defaults, &key, slic)
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L305
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:305:58
|
305 | match postcard::set_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L276
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:276:65
|
276 | let slic = match postcard::get_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L261
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:261:66
|
261 | let check = match postcard::get_by_key(settings, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L218
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:218:66
|
218 | ... match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L212
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:212:62
|
212 | match postcard::set_by_key(defaults, &key, slic) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L176
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:176:50
|
176 | match json::get_by_key(defaults, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L147
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:147:54
|
147 | match json::get_by_key(settings, &key, interface.buffer) {
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
serial-settings/src/lib.rs#L98
warning: the borrowed expression implements the required traits
--> serial-settings/src/lib.rs:98:29
|
98 | match iter.root(&Path::<_, '/'>::from(key)) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Path::<_, '/'>::from(key)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|