Skip to content

Commit

Permalink
fix error pada file lain
Browse files Browse the repository at this point in the history
  • Loading branch information
MMADUs committed Oct 5, 2024
1 parent 1f36e6b commit 4979b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/src/sorting/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ where T: cmp::PartialOrd,
}
let mut prev = &arr[0];

for item arr.iter().skip(1) {
for item in arr.iter().skip(1) {
if prev > item {
return false;
}
Expand Down

0 comments on commit 4979b3f

Please sign in to comment.