Skip to content

Commit 4e0a389

Browse files
committed
Fix editor-folds description and end placement for Import companion object
1 parent 74de368 commit 4e0a389

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/kotlin/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ impl Kotlin {
455455

456456

457457
if outside_kind.is_imported() {
458-
r#gen.src.push_str(format!("@WitImport\ncompanion object Import : {kotlin_package}.{namespace_name}{{ //<editor-fold defaultstate=\"collapsed\" desc=\"r#generated Import Code\">\n").as_str());
458+
r#gen.src.push_str(format!("@WitImport\ncompanion object Import : {kotlin_package}.{namespace_name} {{ // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Import Code\">\n").as_str());
459459
}
460460

461461

@@ -473,7 +473,7 @@ impl Kotlin {
473473
}
474474

475475
if outside_kind.is_imported() {
476-
r#gen.src.push_str("}\n// </editor-fold>\n");
476+
r#gen.src.push_str("// </editor-fold>\n}\n");
477477
}
478478
r#gen.src.push_str("// START OF TYPES\n\n");
479479

0 commit comments

Comments
 (0)