We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e696a07 commit 4cde866Copy full SHA for 4cde866
exercises/standard_library_types/iterators2.rs
@@ -9,7 +9,7 @@ pub fn capitalize_first(input: &str) -> String {
9
let mut c = input.chars();
10
match c.next() {
11
None => String::new(),
12
- Some(first) => first.collect()::<String>() + c.as_str(),
+ Some(first) => first.collect::<String>() + c.as_str(),
13
}
14
15
0 commit comments