Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Jul 26, 2024
1 parent 34326db commit 02515cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ where
if name_token.is_some() || regexp_or_wildcard_token.is_some() {
let mut prefix = String::new();
if let Some(char_token) = char_token {
prefix = char_token.value.to_owned();
char_token.value.clone_into(&mut prefix);
}
if !prefix.is_empty() && prefix != options.prefix_code_point {
parser.pending_fixed_value.push_str(&prefix);
Expand Down

0 comments on commit 02515cc

Please sign in to comment.