Skip to content

Commit

Permalink
Apply cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Dec 1, 2021
1 parent a9267e6 commit 06b678c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/contract-transfer/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ pub mod give_me {
"received payment: {}",
self.env().transferred_value()
);
assert!(
self.env().transferred_value() == 10,
"payment was not ten"
);
assert!(self.env().transferred_value() == 10, "payment was not ten");
}
}

Expand Down

0 comments on commit 06b678c

Please sign in to comment.