Skip to content

Commit e9e2c75

Browse files
committed
fix clippy
1 parent b27e25a commit e9e2c75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ mod test {
134134

135135
#[test]
136136
fn should_find_typst_files_in_proj() {
137-
let path = Path::new(&format!("{}", env!("CARGO_MANIFEST_DIR")))
137+
let path = Path::new(&env!("CARGO_MANIFEST_DIR").to_string())
138138
.join("tests")
139139
.join("proj");
140-
let files = find_all_typst_files(&path);
140+
let files = find_all_typst_files(path);
141141
assert!(files.iter().all(|f| f.exists() && f.is_file()));
142142
assert!(files.iter().all(|f| f
143143
.extension()

0 commit comments

Comments
 (0)