Skip to content

Commit 3577aa4

Browse files
committed
wgpu_core::track::range::RangedStates: Remove stale TODO.
1 parent 42ee962 commit 3577aa4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

wgpu-core/src/track/range.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ impl<I: Copy + Ord, T: Copy + PartialEq> RangedStates<I, T> {
9090
///
9191
/// Gaps in the ranges are filled with `default` value.
9292
pub fn isolate(&mut self, index: &Range<I>, default: T) -> &mut [(Range<I>, T)] {
93-
//TODO: implement this in 2 passes:
94-
// 1. scan the ranges to figure out how many extra ones need to be inserted
95-
// 2. go through the ranges by moving them them to the right and inserting the missing ones
96-
9793
let mut start_pos = match self.ranges.iter().position(|pair| pair.0.end > index.start) {
9894
Some(pos) => pos,
9995
None => {

0 commit comments

Comments
 (0)