Skip to content

Commit

Permalink
refactor: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Dec 18, 2022
1 parent b947d4e commit 02ce308
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/swc_css_codegen/tests/fixture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ impl VisitMut for NormalizeTest {

n.value = n
.value
.replace("\0", &char::REPLACEMENT_CHARACTER.to_string())
.replace('\0', &char::REPLACEMENT_CHARACTER.to_string())
.into();
n.raw = None;
}
Expand All @@ -252,7 +252,7 @@ impl VisitMut for NormalizeTest {

n.value = n
.value
.replace("\0", &char::REPLACEMENT_CHARACTER.to_string())
.replace('\0', &char::REPLACEMENT_CHARACTER.to_string())
.into();
n.raw = None;
}
Expand All @@ -262,7 +262,7 @@ impl VisitMut for NormalizeTest {

n.value = n
.value
.replace("\0", &char::REPLACEMENT_CHARACTER.to_string())
.replace('\0', &char::REPLACEMENT_CHARACTER.to_string())
.into();
n.raw = None;
}
Expand Down

0 comments on commit 02ce308

Please sign in to comment.