mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-11-23 03:44:04 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
7413646fc4
commit
1cd887398d
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user