Skip to content

Commit 188cc64

Browse files
formatting
1 parent 98660d8 commit 188cc64

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

radix-common/src/data/manifest/model/manifest_resource_assertion.rs

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,11 @@ impl ManifestResourceConstraints {
138138
)
139139
}
140140

141-
pub fn specified_resources(
142-
&self,
143-
) -> &IndexMap<ResourceAddress, ManifestResourceConstraint> {
141+
pub fn specified_resources(&self) -> &IndexMap<ResourceAddress, ManifestResourceConstraint> {
144142
&self.specified_resources
145143
}
146144

147-
pub fn iter(
148-
&self,
149-
) -> impl Iterator<Item = (&ResourceAddress, &ManifestResourceConstraint)> {
145+
pub fn iter(&self) -> impl Iterator<Item = (&ResourceAddress, &ManifestResourceConstraint)> {
150146
self.specified_resources.iter()
151147
}
152148

@@ -250,11 +246,7 @@ impl AggregateResourceBalances {
250246
}
251247
}
252248

253-
pub fn add_fungible(
254-
&mut self,
255-
resource_address: ResourceAddress,
256-
amount: Decimal,
257-
) {
249+
pub fn add_fungible(&mut self, resource_address: ResourceAddress, amount: Decimal) {
258250
if amount.is_positive() {
259251
self.fungible_resources
260252
.entry(resource_address)

0 commit comments

Comments
 (0)