Skip to content

Commit

Permalink
Apply cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrandl committed Jan 28, 2023
1 parent 33ff4ad commit 26bc0cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/staticfiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,7 @@ impl StaticFile {
content: &impl Display,
suffix: &str,
) -> Result<&mut Self> {
let rust_name = rust_name
.replace(['/', '-', '.'], "_");
let rust_name = rust_name.replace(['/', '-', '.'], "_");
writeln!(
self.src,
"\n/// From {path:?}\
Expand Down

0 comments on commit 26bc0cd

Please sign in to comment.