Skip to content

Commit d2f1cf2

Browse files
KotlinIslandclaude
andcommitted
rustfmt the sealed-hierarchy emit call
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 5cbe802 commit d2f1cf2

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

  • crates/by_transforms/src/transforms

crates/by_transforms/src/transforms/enums.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,15 @@ fn emit_enum(
330330
let vis = enum_visibility_prefix(class, source);
331331
emit_plain_enum(out, source, name, vis, &variants, &members, imports);
332332
} else {
333-
emit_sealed_hierarchy(out, source, class, &variants, &members, imports, min_version);
333+
emit_sealed_hierarchy(
334+
out,
335+
source,
336+
class,
337+
&variants,
338+
&members,
339+
imports,
340+
min_version,
341+
);
334342
}
335343

336344
// the replaced source range excludes its trailing newline, so the lowered

0 commit comments

Comments
 (0)