mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-28 16:15:42 +08:00
Add TODO to remember replacing steps with an enum
This commit is contained in:
parent
04c38220ca
commit
75943a5a9b
@ -68,6 +68,7 @@ mod steps {
|
|||||||
];
|
];
|
||||||
|
|
||||||
const fn step(step: u16) -> (u16, &'static str) {
|
const fn step(step: u16) -> (u16, &'static str) {
|
||||||
|
/// TODO: convert to an enum_iterator enum of steps
|
||||||
(step, STEPS[step as usize])
|
(step, STEPS[step as usize])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user