Skip to content

Commit 00afdb1

Browse files
committed
chore: format code
1 parent 37dc4b9 commit 00afdb1

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

crates/wit-parser/src/ast/resolve.rs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,9 +1186,17 @@ impl<'a> Resolver<'a> {
11861186
let value_ty = self.resolve_type(&map.value, stability)?;
11871187

11881188
match key_ty {
1189-
Type::Bool | Type::U8 | Type::U16 | Type::U32 | Type::U64 |
1190-
Type::S8 | Type::S16 | Type::S32 | Type::S64 |
1191-
Type::Char | Type::String => {}
1189+
Type::Bool
1190+
| Type::U8
1191+
| Type::U16
1192+
| Type::U32
1193+
| Type::U64
1194+
| Type::S8
1195+
| Type::S16
1196+
| Type::S32
1197+
| Type::S64
1198+
| Type::Char
1199+
| Type::String => {}
11921200
_ => {
11931201
bail!(Error::new(
11941202
map.span,

0 commit comments

Comments
 (0)