Skip to content

Commit 76dcef6

Browse files
committed
Typo fix
1 parent c72f748 commit 76dcef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1899,7 +1899,7 @@ impl FromIterator<Box<str>> for String {
18991899
None => String::new(),
19001900
Some(buf) => {
19011901
let mut buf = buf.into_string();
1902-
buf.extend(iter);
1902+
buf.extend(iterator);
19031903
buf
19041904
}
19051905
}

0 commit comments

Comments
 (0)