Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Commit

Permalink
Merge #855
Browse files Browse the repository at this point in the history
855: Remove comment about `Vec::remove_item` r=kvark a=Pat-Lafon

Sadly, `Vec::remove_item` was an unstable method that was deprecated and has now been removed.

rust-lang/rust#80972

This pr removes a comment suggesting to use `Vec::remove_item` when it stabilizes.

Co-authored-by: Patrick LaFontaine <32135464+Pat-Lafon@users.noreply.github.com>
  • Loading branch information
bors[bot] and Pat-Lafon authored Apr 13, 2021
2 parents 53600ec + 566867c commit 0d3f4b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,6 @@ impl MapContext {
None => self.initial_range.end,
};

// Switch this out with `Vec::remove_item` once that stabilizes.
let index = self
.sub_ranges
.iter()
Expand Down

0 comments on commit 0d3f4b8

Please sign in to comment.