File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ use thiserror::Error;
1212/// Represents the complete collection of step images for a recipe.
1313///
1414/// Images are discovered based on the Cooklang naming convention:
15- /// - `RecipeName.N.ext`: Stored at [0] [N-1] (section 0 = linear/no section)
16- /// - `RecipeName.S.N.ext`: Stored at [S-1] [N-1] (section S, step N)
15+ /// - `RecipeName.N.ext`: Stored at \[0\]\ [N-1\ ] (section 0 = linear/no section)
16+ /// - `RecipeName.S.N.ext`: Stored at \ [S-1\]\ [N-1\ ] (section S, step N)
1717///
1818/// File numbering is one-indexed (Recipe.1.jpg = first step)
1919/// Internal HashMap keys are zero-indexed
@@ -23,8 +23,8 @@ use thiserror::Error;
2323#[ derive( Debug , Clone , Serialize , Default ) ]
2424pub struct StepImageCollection {
2525 /// Two-dimensional map: section_index -> step_index -> image_path
26- /// - Section 0: steps for linear recipes (Recipe.N.ext stored at [0] [N-1])
27- /// - Section 1+: steps within sections (Recipe.S.N.ext stored at [S-1] [N-1])
26+ /// - Section 0: steps for linear recipes (Recipe.N.ext stored at \[0\]\ [N-1\ ])
27+ /// - Section 1+: steps within sections (Recipe.S.N.ext stored at \ [S-1\]\ [N-1\ ])
2828 ///
2929 /// HashMap keys are zero-indexed
3030 pub images : HashMap < usize , HashMap < usize , String > > ,
You can’t perform that action at this time.
0 commit comments