Skip to content

Commit

Permalink
fix spelling in library/alloc/tests/vec.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Stone <[email protected]>
  • Loading branch information
the8472 and cuviper authored Dec 6, 2024
1 parent aabed33 commit 414acda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/tests/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ fn extract_if_ranges() {

#[test]
#[should_panic]
fn extraxt_if_out_of_bounds() {
fn extract_if_out_of_bounds() {
let mut vec = vec![0, 1];
let _ = vec.extract_if(5.., |_| true).for_each(drop);
}
Expand Down

0 comments on commit 414acda

Please sign in to comment.