Commit 77114f7
committed
clippy: Remove needless borrow
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> framework_lib\src\esrt\mod.rs:441:35
|
441 | fw_class: GUID::parse(&short_guid).ok()?.into(),
| ^^^^^^^^^^^ help: change this to: `short_guid`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
Signed-off-by: Daniel Schaefer <dhs@frame.work>1 parent d77d4e4 commit 77114f7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
| 441 | + | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| |||
0 commit comments