This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch gh-readonly-queue/main/pr-2173-abec6f9b207287d269e015f738cc0bf36da82d08 in repository https://gitbox.apache.org/repos/asf/datafusion-sqlparser-rs.git
commit 6550ec8009b9584bd38ec9d687d5e819cc43a5c2 Author: Andy Grove <[email protected]> AuthorDate: Fri Jan 23 03:46:29 2026 -0700 perf: remove unnecessary string clone in maybe_concat_string_literal (#2173) Co-authored-by: Claude Opus 4.5 <[email protected]> --- src/parser/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 0971d915..cfc173d7 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -11298,7 +11298,7 @@ impl<'a> Parser<'a> { while let Token::SingleQuotedString(ref s) | Token::DoubleQuotedString(ref s) = self.peek_token_ref().token { - str.push_str(s.clone().as_str()); + str.push_str(s); self.advance_token(); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
