Skip to content

Commit

Permalink
Use single quote for char (Kampfkarren#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
saguywalker authored Dec 26, 2022
1 parent 60aeadf commit 4d4e3ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion full-moon/tests/visitors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn test_visitor_mut() {
.map(|name| {
name.to_owned().map(|value| {
value.with_token(Token::new(TokenType::Identifier {
identifier: value.token().to_string().replace("s", "sss").into(),
identifier: value.token().to_string().replace('s', "sss").into(),
}))
})
})
Expand Down

0 comments on commit 4d4e3ae

Please sign in to comment.