Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test rework #37

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Test rework #37

wants to merge 25 commits into from

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`

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