merge stable version #2
|
@ -9,7 +9,7 @@ const ASCII_ZERO_CHAR_POSITION: u8 = 48;
|
||||||
pub fn processing_input(input: &String) -> String {
|
pub fn processing_input(input: &String) -> String {
|
||||||
input
|
input
|
||||||
.split_ascii_whitespace()
|
.split_ascii_whitespace()
|
||||||
.filter(|&x| x.is_empty())
|
.filter(|&x| !x.is_empty())
|
||||||
.fold(String::new(), |c: String, n: &str| c + n)
|
.fold(String::new(), |c: String, n: &str| c + n)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue