Skip to content

Commit 0483fae

Browse files
committed
Fix a few new clippys
1 parent 06f05ee commit 0483fae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dice-mfg/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ impl CertSigner {
550550
fs::canonicalize(&self.openssl_cnf).with_context(|| {
551551
format!(
552552
"failed to canonicalize path to OpenSSL config: {}",
553-
&self.openssl_cnf.display()
553+
self.openssl_cnf.display()
554554
)
555555
})?;
556556
let csr_in = fs::canonicalize(csr_in).with_context(|| {

yhsm-audit/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fn do_hash<R: Read>(reader: &mut R, inform: Encoding) -> Result<()> {
133133
}
134134
};
135135

136-
debug!("buf: {:?}", &buf);
136+
debug!("buf: {:?}", buf);
137137
debug!("hashing {:?}", &buf[..16]);
138138

139139
let mut hasher = Sha256::new();

0 commit comments

Comments
 (0)