Skip to content

Commit 0a68a6e

Browse files
committed
fix: address Clippy change
1 parent 6e13d4f commit 0a68a6e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

bindgen-tests/build.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ pub fn main() {
3333
.replace(|c| !char::is_alphanumeric(c), "_")
3434
.replace("__", "_")
3535
.to_lowercase();
36-
writeln!(dst, "test_header!(header_{func}, {:?});", entry.path())
37-
.unwrap();
36+
writeln!(
37+
dst,
38+
"test_header!(header_{func}, {});",
39+
entry.path().display()
40+
)
41+
.unwrap();
3842
}
3943
}
4044

0 commit comments

Comments
 (0)