Skip to content

Commit 0961c0d

Browse files
committed
Use binary operator in image example format
1 parent d8fd4d1 commit 0961c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

formats/image.fathom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ def main = {
1515
/// The height of the image, in pixels.
1616
height <- u32be,
1717
/// The pixel data.
18-
pixels <- repeat_len32 (u32_mul width height) pixel, // TODO: binary operators
18+
pixels <- repeat_len32 (width * height) pixel,
1919
};

0 commit comments

Comments
 (0)