module: delete LowLevel enum variant ListMapWithIndex

This commit is contained in:
Brian Carroll 2022-07-04 15:07:12 +01:00
parent a129e0458c
commit eb2ac4c82b
No known key found for this signature in database
GPG key ID: 9CF4E3BF9C4722C7
5 changed files with 4 additions and 13 deletions

View file

@ -5108,12 +5108,6 @@ pub fn with_hole<'a>(
let xs = arg_symbols[0];
match_on_closure_argument!(ListMap, [xs])
}
ListMapWithIndex => {
debug_assert_eq!(arg_symbols.len(), 2);
let xs = arg_symbols[0];
match_on_closure_argument!(ListMapWithIndex, [xs])
}
ListSortWith => {
debug_assert_eq!(arg_symbols.len(), 2);
let xs = arg_symbols[0];