Skip to content

Commit

Permalink
Fix typo in example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsided committed Mar 8, 2024
1 parent 91ff2e5 commit 4d725e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ use swap3::prelude::*;
fn swap3_bca() {
let mut vec = vec![10, 20, 30, 40, 50, 60];
vec.swap3_bca(0, 1, 4);
assert_eq!(vec, &[30, 50, 30, 40, 10, 60]);
assert_eq!(vec, &[20, 50, 30, 40, 10, 60]);
}
```

0 comments on commit 4d725e2

Please sign in to comment.