From 6cb7f2170eb3f946e8efe200039b321469200916 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 3 Jun 2026 10:40:58 -0700 Subject: [PATCH] wgpu_core::track::range::RangedStates: Remove stale TODO. (#9636) --- wgpu-core/src/track/range.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wgpu-core/src/track/range.rs b/wgpu-core/src/track/range.rs index 4ee5bcfd0..ed9af45ba 100644 --- a/wgpu-core/src/track/range.rs +++ b/wgpu-core/src/track/range.rs @@ -90,10 +90,6 @@ impl RangedStates { /// /// Gaps in the ranges are filled with `default` value. pub fn isolate(&mut self, index: &Range, default: T) -> &mut [(Range, 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 => {