Skip to content

Commit 54938a1

Browse files
committed
Cargo fmt
1 parent 2dd25fd commit 54938a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/codegen/src/typescript.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,10 @@ fn print_imports(module: &ModuleDef, out: &mut Indenter, imports: Imports, suffi
11921192
let module_name = type_ref_module_name(module, typeref);
11931193
let type_name = type_ref_name(module, typeref);
11941194
if let Some(suffix) = suffix {
1195-
writeln!(out, "import {{ {type_name} as {type_name}{suffix} }} from \"./{module_name}\";");
1195+
writeln!(
1196+
out,
1197+
"import {{ {type_name} as {type_name}{suffix} }} from \"./{module_name}\";"
1198+
);
11961199
} else {
11971200
writeln!(out, "import {{ {type_name} }} from \"./{module_name}\";");
11981201
}

0 commit comments

Comments
 (0)