merge stable version #2

Merged
doryan merged 97 commits from experimental into main 2024-08-28 18:54:00 +03:00
Showing only changes of commit cedb844826 - Show all commits

View File

@ -9,8 +9,8 @@ const ASCII_ZERO_CHAR_POSITION: u8 = 48;
pub fn processing_input(input: impl Into<String>) -> String {
input
.into()
.split_ascii_whitespace()
.filter(|&x| !x.is_empty())
.split(&[' ', '\n'][..])
.filter(|x| !x.is_empty())
.fold(String::new(), |c: String, n: &str| c + n)
}