News for hackers. Stuff that matters.
Re:FasterPath: Faster Pathname Handling for Ruby Written in ... by nilved on Friday June 17, 2016 @12:20PM (#11923558)
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.
Re:FasterPath: Faster Pathname Handling for Ruby Written in ... by gue5t on Friday June 17, 2016 @12:31PM (#11923616)
A more idiomatic way to write the line is:

r_str.chars().next() == Some(MAIN_SEPARATOR)