Skip to content

Conversation

@JohnAZoidberg
Copy link
Member

No description provided.

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 <[email protected]>
We need to do it this way in this instance so that we can easily build
with different features and the vector gets initialized properly,
dynamically.

Signed-off-by: Daniel Schaefer <[email protected]>
@JohnAZoidberg JohnAZoidberg merged commit a8c6216 into main Jan 14, 2026
7 checks passed
@JohnAZoidberg JohnAZoidberg deleted the clippy-windows branch January 14, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants