Skip to content

Commit

Permalink
Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Sep 13, 2024
1 parent 7038858 commit 2bccccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/website-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl Level {

fn write_into(&self, dst: &mut String, name: &str, level: usize) -> fmt::Result {
self.write_space(dst, level);
let name = name.replace(&['-', '.'], "_");
let name = name.replace(['-', '.'], "_");
writeln!(dst, "pub mod {name} {{")?;

self.write_inner(dst, level + 1)?;
Expand Down

0 comments on commit 2bccccc

Please sign in to comment.