From e2e29c3934e40cfd4fde6f1b5e7517810c3bf1cd Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 25 Sep 2025 14:23:55 +0800 Subject: Fixed by Clippy --- crates/utils/string_proc/src/string_processer.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crates/utils/string_proc') diff --git a/crates/utils/string_proc/src/string_processer.rs b/crates/utils/string_proc/src/string_processer.rs index 6ad8768..8b51c12 100644 --- a/crates/utils/string_proc/src/string_processer.rs +++ b/crates/utils/string_proc/src/string_processer.rs @@ -45,11 +45,10 @@ impl StringProcesser { while let Some(c) = chars.next() { processed.push(c); - if let Some(&next) = chars.peek() { - if c.is_lowercase() && next.is_uppercase() { + if let Some(&next) = chars.peek() + && c.is_lowercase() && next.is_uppercase() { processed.push(' '); } - } } processed -- cgit