From 523ca6d1033d0f9be859537adc3f5d9c8234d277 Mon Sep 17 00:00:00 2001 From: mlokr Date: Fri, 19 Jul 2024 12:51:26 +0200 Subject: [PATCH] d --- hblang/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblang/src/parser.rs b/hblang/src/parser.rs index 81e4b32..0648393 100644 --- a/hblang/src/parser.rs +++ b/hblang/src/parser.rs @@ -891,7 +891,7 @@ impl<'a> std::fmt::Display for Expr<'a> { Self::Ct { value, .. } => write!(f, "$: {}", value), Self::String { literal, .. } => write!(f, "{}", literal), Self::Comment { literal, .. } => write!(f, "{}", literal.trim_end()), - Self::Mod { path, .. } => write!(f, "@mod(\"{path}\")"), + Self::Mod { path, .. } => write!(f, "@use(\"{path}\")"), Self::Field { target, name: field } => write!(f, "{}.{field}", Postfix(target)), Self::Directive { name, args, .. } => { write!(f, "@{name}(")?;