From 75943a5a9b35608d1a3d1eaa43ecfd443a678271 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 18 Nov 2024 17:40:51 +0100 Subject: [PATCH] Add TODO to remember replacing steps with an enum --- crates/milli/src/update/new/indexer/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/milli/src/update/new/indexer/mod.rs b/crates/milli/src/update/new/indexer/mod.rs index 0511dd6a1..8998780fb 100644 --- a/crates/milli/src/update/new/indexer/mod.rs +++ b/crates/milli/src/update/new/indexer/mod.rs @@ -68,6 +68,7 @@ mod steps { ]; const fn step(step: u16) -> (u16, &'static str) { + /// TODO: convert to an enum_iterator enum of steps (step, STEPS[step as usize]) }