Update to latest rustc

Change "  ".repeat(n) to repeat("  ").take(n).collect::<String>()

and also, change from_str(string) to string.parse()

and finally, change [str].is_whitespace() to
String.chars().all(|c| c.is_whitespace)