Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden committed Aug 14, 2024
1 parent 8e5f309 commit ad9359e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/constants/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -943,9 +943,7 @@ mod test {
for resource in enum_iterator::all::<MarketResourceType>() {
if resource != MarketResourceType::Resource(ResourceType::__Invalid)
&& resource
!= MarketResourceType::IntershardResource(
IntershardResourceType::__Invalid,
)
!= MarketResourceType::IntershardResource(IntershardResourceType::__Invalid)
{
let serialized = serde_json::to_string(&resource).unwrap();
let parsed: MarketResourceType = serde_json::from_str(&serialized).unwrap();
Expand All @@ -960,9 +958,7 @@ mod test {
for resource in enum_iterator::all::<MarketResourceType>() {
if resource != MarketResourceType::Resource(ResourceType::__Invalid)
&& resource
!= MarketResourceType::IntershardResource(
IntershardResourceType::__Invalid,
)
!= MarketResourceType::IntershardResource(IntershardResourceType::__Invalid)
{
resources.push(resource);
}
Expand All @@ -979,9 +975,7 @@ mod test {
for resource in enum_iterator::all::<MarketResourceType>() {
if resource != MarketResourceType::Resource(ResourceType::__Invalid)
&& resource
!= MarketResourceType::IntershardResource(
IntershardResourceType::__Invalid,
)
!= MarketResourceType::IntershardResource(IntershardResourceType::__Invalid)
{
resources.push(resource);
}
Expand Down

0 comments on commit ad9359e

Please sign in to comment.