Skip to content

Commit 1bf3210

Browse files
committed
fmt and clippy
1 parent 4f1ad6e commit 1bf3210

File tree

1 file changed

+2
-2
lines changed
  • sway-core/src/language/ty/declaration

1 file changed

+2
-2
lines changed

sway-core/src/language/ty/declaration/abi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn has_const_generics(type_id: TypeId, engines: &Engines) -> bool {
3636
let t = engines.te().get(t);
3737
match &*t {
3838
TypeInfo::StringArray(length) => match length.expr() {
39-
ConstGenericExpr::Literal { .. } => {},
39+
ConstGenericExpr::Literal { .. } => {}
4040
ConstGenericExpr::AmbiguousVariableExpression { .. } => return true,
4141
},
4242
TypeInfo::Enum(decl_id) => {
@@ -82,7 +82,7 @@ fn has_const_generics(type_id: TypeId, engines: &Engines) -> bool {
8282
}
8383

8484
match length.expr() {
85-
ConstGenericExpr::Literal { .. } => {},
85+
ConstGenericExpr::Literal { .. } => {}
8686
ConstGenericExpr::AmbiguousVariableExpression { .. } => return true,
8787
}
8888
}

0 commit comments

Comments
 (0)