Skip to content

Commit 0c7ddbb

Browse files
committed
clippy
1 parent cbfc5eb commit 0c7ddbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fn main() {
3232
let content = vm.evaluate_file(cli.file).unwrap();
3333
serde_json::from_str(content.as_str()).unwrap()
3434
}
35-
_ => panic!("unrecognizable file extension: {}. Only .json and .jsonnet files are supported", extension),
35+
_ => panic!("unrecognizable file extension: {extension}. Only .json and .jsonnet files are supported"),
3636
}
3737
} else {
3838
panic!("unrecognizable file type. Only .json and .jsonnet files are supported");

0 commit comments

Comments
 (0)