error: this expression creates a reference which is immediately dereferenced by the compiler
--> serde-encrypt-core/src/key/combined_key.rs:34:9
|
34 | &self.sender_private_key
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sender_private_key`
|
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
error: this expression creates a reference which is immediately dereferenced by the compiler
--> serde-encrypt-core/src/key/combined_key.rs:38:9
|
38 | &self.receiver_public_key
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.receiver_public_key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
error: this expression creates a reference which is immediately dereferenced by the compiler
--> serde-encrypt-core/src/key/combined_key.rs:64:9
|
64 | &self.receiver_private_key
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.receiver_private_key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
error: this expression creates a reference which is immediately dereferenced by the compiler
--> serde-encrypt-core/src/key/combined_key.rs:[68](https://github.com/laysakura/serde-encrypt/runs/5999148550?check_suite_focus=true#step:9:68):9
|
68 | &self.sender_public_key
| ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.sender_public_key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow