mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-17 09:22:39 +00:00
Move case-closing-brace writer inside cases loop
This commit is contained in:
parent
2dfcb7fcf0
commit
d7af2a84b7
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user