mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Update List.replace to no longer use Nat
This commit is contained in:
parent
a8918a4e3b
commit
5b2998966b
2 changed files with 9 additions and 7 deletions
|
@ -322,7 +322,7 @@ pub(crate) fn list_drop_at<'a, 'ctx>(
|
|||
)
|
||||
}
|
||||
|
||||
/// List.replace_unsafe : List elem, Nat, elem -> { list: List elem, value: elem }
|
||||
/// List.replace_unsafe : List elem, U64, elem -> { list: List elem, value: elem }
|
||||
pub(crate) fn list_replace_unsafe<'a, 'ctx>(
|
||||
env: &Env<'a, 'ctx, '_>,
|
||||
layout_interner: &STLayoutInterner<'a>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue