mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 08:21:25 +01:00
Move case-closing-brace writer inside cases loop
This commit is contained in:
1 parent
2dfcb7fcf0
commit
d7af2a84b7
1 file changed
+2
-2
@@ -804,9 +804,9 @@ impl<W: Write> Writer<W> {
|
||||
if case.fall_through {
|
||||
writeln!(self.out, "{}fallthrough;", INDENT.repeat(indent + 2))?;
|
||||
}
|
||||
}
|
||||
|
||||
writeln!(self.out, "{}}}", INDENT.repeat(indent + 1))?;
|
||||
writeln!(self.out, "{}}}", INDENT.repeat(indent + 1))?;
|
||||
}
|
||||
}
|
||||
|
||||
if !default.is_empty() {
|
||||
|
||||
Reference in new issue
Block a user