From 0f8aa5d5075fb2c8ba0395dd06930852df26cce5 Mon Sep 17 00:00:00 2001 From: Brayden Chan <72172597+megabyte6@users.noreply.github.com> Date: Sun, 12 Jan 2025 15:45:55 -0800 Subject: [PATCH] Fix string interpolation in file reading log message --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index e734813..13fa0ec 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ fn main() { match args.command { Some(Run { file }) => { - vprintln!("Reading file: `{}`", file); + vprintln!("Reading file: `{file}`"); let source = read_to_string(file).expect("error: unable to read file."); vprintln!("Lexing source code...");