From ad9868c1c0048514d7dc0cd141c32ee4a951bd2e Mon Sep 17 00:00:00 2001 From: Erin Date: Wed, 12 Jul 2023 02:24:05 +0200 Subject: [PATCH] fixxed lint --- hbasm/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbasm/src/main.rs b/hbasm/src/main.rs index d569669..844f2d6 100644 --- a/hbasm/src/main.rs +++ b/hbasm/src/main.rs @@ -40,7 +40,7 @@ fn main() -> Result<(), Box> { .with_code(e_code) .with_message(format!("{:?}", e.kind)) .with_label( - Label::new(("engine_internal", e.span.clone())) + Label::new(("engine_internal", e.span)) .with_message(message) .with_color(a), )