Apply clippy suggestions for 1.67
This commit is contained in:
parent
f53d2882bd
commit
77e435ca01
|
@ -377,7 +377,7 @@ impl Key {
|
||||||
None => String::new(),
|
None => String::new(),
|
||||||
};
|
};
|
||||||
|
|
||||||
let combined = format!("{}.{}", protected, payload);
|
let combined = format!("{protected}.{payload}");
|
||||||
let signature = self.inner.sign(&self.rng, combined.as_bytes())?;
|
let signature = self.inner.sign(&self.rng, combined.as_bytes())?;
|
||||||
Ok(Body::from(serde_json::to_vec(&JoseJson {
|
Ok(Body::from(serde_json::to_vec(&JoseJson {
|
||||||
protected,
|
protected,
|
||||||
|
|
Loading…
Reference in New Issue