Skip to content

Commit

Permalink
Fix string interpolation in file reading log message
Browse files Browse the repository at this point in the history
  • Loading branch information
megabyte6 committed Jan 12, 2025
1 parent 02b95a7 commit 0f8aa5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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...");
Expand Down

0 comments on commit 0f8aa5d

Please sign in to comment.