4 ms·
I don't write Rust either, but I might guess that they are trying to unbox a nullable value that can't be null. They need a default string due to Rusts strong t
by nilved 10y ago
I don't write Rust either, but I might guess that they are trying to unbox a nullable value that can't be null. They need a default string due to Rusts strong types even if it's not used.
- gue5t 10y agoA more idiomatic way to write the line is: r_str.chars().next() == Some(MAIN_SEPARATOR)