mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Update List.swap to no longer use Nat
This commit is contained in:
parent
27474d4ed8
commit
2cf7b5b5ca
4 changed files with 17 additions and 13 deletions
|
@ -250,7 +250,7 @@ pub(crate) fn list_prepend<'a, 'ctx>(
|
|||
)
|
||||
}
|
||||
|
||||
/// List.swap : List elem, Nat, Nat -> List elem
|
||||
/// List.swap : List elem, U64,U64 -> List elem
|
||||
pub(crate) fn list_swap<'a, 'ctx>(
|
||||
env: &Env<'a, 'ctx, '_>,
|
||||
layout_interner: &STLayoutInterner<'a>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue