Skip to content

Commit

Permalink
Format code using rustfmt 1.5.0
Browse files Browse the repository at this point in the history
Github actions recently updated rustfmt to v1.5.0, this commit
formats the code accordingly so that CI doesn't fail.
  • Loading branch information
danielabrozzoni committed Jun 27, 2022
1 parent 81efdac commit fbfedfa
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,14 +589,12 @@ where
)?;
let internal_requirements = internal_policy
.map(|policy| {
Ok::<_, Error>(
policy.get_condition(
params
.internal_policy_path
.as_ref()
.unwrap_or(&BTreeMap::new()),
)?,
)
Ok::<_, Error>(policy.get_condition(
params
.internal_policy_path
.as_ref()
.unwrap_or(&BTreeMap::new()),
)?)
})
.transpose()?;

Expand Down

0 comments on commit fbfedfa

Please sign in to comment.