From c5d8c12c14ea2ea17007b1b0223dc34151dab03d Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Mon, 18 May 2026 21:42:22 +0200 Subject: [PATCH] Fix: visibility spacing --- src/codegen.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codegen.rs b/src/codegen.rs index 500b2a5..bd83301 100644 --- a/src/codegen.rs +++ b/src/codegen.rs @@ -384,9 +384,9 @@ impl ToRust for TopLevelKind { match self { Self::ModAttribute => {} Self::Import(vis, path) => { - cg.addln(&format!("{} use {};", vis.get_rust(), path.get_rust())) + cg.addln(&format!("{}use {};", vis.get_rust(), path.get_rust())) } - Self::Mod(vis, id) => cg.addln(&format!("{} mod {};", vis.get_rust(), id.get_rust())), + Self::Mod(vis, id) => cg.addln(&format!("{}mod {};", vis.get_rust(), id.get_rust())), Self::FunctionDecl(decl) => decl.to_rust(cg), Self::ImplDecl(impl_) => impl_.to_rust(cg), Self::StructDecl {