Update List.swap to no longer use Nat

This commit is contained in:
Richard Feldman 2024-01-22 22:17:34 -05:00
parent 27474d4ed8
commit 2cf7b5b5ca
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
4 changed files with 17 additions and 13 deletions

View file

@ -1918,8 +1918,8 @@ trait Backend<'a> {
// list: RocList,
// alignment: u32,
// element_width: usize,
// index_1: usize,
// index_2: usize,
// index_1: u64,
// index_2: u64,
// update_mode: UpdateMode,
self.build_fn_call(
@ -1937,8 +1937,8 @@ trait Backend<'a> {
list_layout,
Layout::U32,
layout_usize,
layout_usize,
layout_usize,
Layout::U64,
Layout::U64,
Layout::U8,
],
ret_layout,