Commit edc6bb6
committed
rustls-cert-gen: fix useless_borrows_in_formatting findings
Of the form:
```
error: redundant reference in `write!` argument
--> rustls-cert-gen/src/cert.rs:282:25
|
282 | write!(key_out, "{}", &self.private_key_pem)?;
| ^^^^^^^^^^^^^^^^^^^^^ help: remove the redundant `&`: `self.private_key_pem`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#useless_borrows_in_formatting
= note: `-D clippy::useless-borrows-in-formatting` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_borrows_in_formatting)]`
```1 parent 86ae909 commit edc6bb6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
0 commit comments