Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2024-07-08 23:56:39 +00:00 committed by GitHub
parent 7413646fc4
commit 1cd887398d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -492,8 +492,7 @@ impl PartialEq for Capability {
impl Hash for Capability {
fn hash<H: Hasher>(&self, state: &mut H) {
self.issuer.hash(state);
let params: serde_json::Value =
serde_json::from_str(&self.params).unwrap_or_default();
let params: serde_json::Value = serde_json::from_str(&self.params).unwrap_or_default();
params.hash(state);
}
}