Handle message marks on non-64-bit platforms #465
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (2)
src/message/mod.rs|341 col 30| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/message/mod.rs:341:30
|
341 | if hash_event_id(&event_id)? == ev_hash {
| ^^^^^^^^^ help: change this to: event_id
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: #[warn(clippy::needless_borrow)]
on by default
src/message/mod.rs|361 col 31| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/message/mod.rs:361:31
|
361 | let x = hash_event_id(&event_id)?;
| ^^^^^^^^^ help: change this to: event_id
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Filtered Findings (0)
Annotations
Check warning on line 341 in src/message/mod.rs
github-actions / clippy
[clippy] src/message/mod.rs#L341
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/message/mod.rs:341:30
|
341 | if hash_event_id(&event_id)? == ev_hash {
| ^^^^^^^^^ help: change this to: `event_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
Raw output
src/message/mod.rs:341:30:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/message/mod.rs:341:30
|
341 | if hash_event_id(&event_id)? == ev_hash {
| ^^^^^^^^^ help: change this to: `event_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
__END__
Check warning on line 361 in src/message/mod.rs
github-actions / clippy
[clippy] src/message/mod.rs#L361
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/message/mod.rs:361:31
|
361 | let x = hash_event_id(&event_id)?;
| ^^^^^^^^^ help: change this to: `event_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Raw output
src/message/mod.rs:361:31:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/message/mod.rs:361:31
|
361 | let x = hash_event_id(&event_id)?;
| ^^^^^^^^^ help: change this to: `event_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
__END__