Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
suaviloquence committed Aug 4, 2024
1 parent a62f09a commit 718d3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ impl<'a> Parser<'a> {
}
}

pub(self) fn parse_string_literal(s: &str) -> Cow<'_, str> {
fn parse_string_literal(s: &str) -> Cow<'_, str> {
debug_assert!(s.len() >= 2 && &s[0..1] == "\"" && &s[s.len() - 1..] == "\"");
let mut replace = vec![];
let s = &s[1..s.len() - 1];
Expand Down

0 comments on commit 718d3ca

Please sign in to comment.