Closed ElijahLynn closed 2 years ago
Ran into this error with nids in the thousands.
error: literal out of range for `u8` --> examples/umami/common.rs:34:26 | 34 | nid: 34054, | ^^^^^ | = note: the literal `34054` does not fit into the type `u8` whose range is `0..=255`
Changed, https://github.com/tag1consulting/goose/blob/d5274ae75d33ab1df20c5d5e0dc995151738ab73/examples/umami/common.rs#L17-L18 from u8 to u32 and all is well now.
u8
u32
Thanks! A PR against Goose Eggs would be welcome as well: https://github.com/tag1consulting/goose-eggs/blob/main/examples/umami/common.rs#L16
Ran into this error with nids in the thousands.
Changed, https://github.com/tag1consulting/goose/blob/d5274ae75d33ab1df20c5d5e0dc995151738ab73/examples/umami/common.rs#L17-L18 from
u8
tou32
and all is well now.