`match` is a bit more readable than the if-else chains,
also replace
space_chars.iter().any(|s| c == *s)
with
space_chars.contains(&c)
which is also more readable.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Description
No description provided
Languages
Rust
88.1%
JavaScript
11.3%
Makefile
0.3%
CSS
0.2%