wgpu_core::track::range::RangedStates: Remove stale TODO. (#9636)

This commit is contained in:
Jim Blandy authored and GitHub committed 2026-06-03 17:40:58 +00:00
1 parent 9f78f6f4dd
commit 6cb7f2170e
1 file changed
-4
-4
View File
@@ -90,10 +90,6 @@ impl<I: Copy + Ord, T: Copy + PartialEq> RangedStates<I, T> {
///
/// Gaps in the ranges are filled with `default` value.
pub fn isolate(&mut self, index: &Range<I>, default: T) -> &mut [(Range<I>, T)] {
//TODO: implement this in 2 passes:
// 1. scan the ranges to figure out how many extra ones need to be inserted
// 2. go through the ranges by moving them them to the right and inserting the missing ones
let mut start_pos = match self.ranges.iter().position(|pair| pair.0.end > index.start) {
Some(pos) => pos,
None => {