Skip to content

Commit

Permalink
Merge pull request #8 from rust-lang/master
Browse files Browse the repository at this point in the history
Merge pull request rust-lang#1957 from ayushmishra2005/master
  • Loading branch information
fengjixuchui authored Oct 30, 2019
2 parents 9053e04 + e79dd62 commit 1ee2e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch10-00-generics.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ number in two different lists.
fn largest(list: &[i32]) -> i32 {
let mut largest = list[0];

for &item in list.iter() {
for &item in list {
if item > largest {
largest = item;
}
Expand Down

0 comments on commit 1ee2e35

Please sign in to comment.