}
// Split of the "special suffix" if there is one.
- let (user_path, cgu_special_suffix) = if let Some(index) = user_path.rfind(".") {
+ let (user_path, cgu_special_suffix) = if let Some(index) = user_path.rfind('.') {
(&user_path[..index], Some(&user_path[index + 1..]))
} else {
(&user_path[..], None)