File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
radix-common/src/data/manifest/model Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments