Skip to content

Commit

Permalink
style: Inline fmt args
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Sep 27, 2024
1 parent e017007 commit 618b1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/data/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const TESTS_DIR: include_dir::Dir<'_> =

pub fn version(ver: &str) -> impl Iterator<Item = &'static std::path::Path> {
TESTS_DIR
.get_file(&format!("files-toml-{ver}"))
.get_file(format!("files-toml-{ver}"))
.and_then(|f| std::str::from_utf8(f.contents()).ok())
.into_iter()
.flat_map(|f| f.lines())
Expand Down

0 comments on commit 618b1cb

Please sign in to comment.