Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verification: fix clippy::needless_borrows_for_generic_args
``` error: the borrowed expression implements the required traits --> rustls-platform-verifier/src/verification/android.rs:193:53 | 193 | JValue::from(env.new_string(&server_name.to_str())?), | ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `server_name.to_str()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]` ```
- Loading branch information