Rearrange where usize -> u64 conversions happen

This commit is contained in:
Richard Feldman 2024-02-13 09:26:22 -05:00
parent ca8f83b896
commit b2ce7e5fcf
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
4 changed files with 35 additions and 20 deletions

View file

@ -965,7 +965,7 @@ fn str_from_utf8_range_order_does_not_matter() {
bytes = Str.toUtf8 "hello"
when Str.fromUtf8Range bytes { start: 1, count: 3 } is
Ok utf8String -> utf8String
_ -> ""
Err _ -> "Str.fromUtf8Range returned Err instead of Ok!"
"#
),
RocStr::from("ell"),