Skip to content

Test rework#37

Open
lu-zero wants to merge 25 commits intomasterfrom
test-rework
Open

Test rework#37
lu-zero wants to merge 25 commits intomasterfrom
test-rework

Conversation

@lu-zero
Copy link

@lu-zero lu-zero commented Aug 17, 2023

Do not merge it yet (testing the CI behavior)


// Create a random local key.
let mut pkcs8_der = if let Some(pk_path) = private_key_file {
match std::fs::read(&pk_path) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [clippy] reported by reviewdog 🐶

error: the borrowed expression implements the required traits
  --> dht-cache/src/cache.rs:49:33
   |
49 |             match std::fs::read(&pk_path) {
   |                                 ^^^^^^^^ help: change this to: `pk_path`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
   = note: `-D clippy::needless-borrow` implied by `-D warnings`

@Luni-4 Luni-4 requested a review from ddeguglielmo August 18, 2023 15:50
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.

1 participant