mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Update a comment
This commit is contained in:
parent
97ff5620ab
commit
3672900aaa
1 changed files with 2 additions and 2 deletions
|
@ -1045,10 +1045,10 @@ fn call_with_args<'a, 'ctx, 'env>(
|
|||
Symbol::LIST_GET_UNSAFE => {
|
||||
let builder = env.builder;
|
||||
|
||||
// List.get : List elem, Int -> Result elem [ OutOfBounds ]*
|
||||
// List.get : List elem, Int -> [ Ok elem, OutOfBounds ]*
|
||||
debug_assert!(args.len() == 2);
|
||||
|
||||
let (_list_expr, list_layout) = &args[0];
|
||||
let (_, list_layout) = &args[0];
|
||||
|
||||
let wrapper_struct = args[0].0.into_struct_value();
|
||||
let elem_index = args[1].0.into_int_value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue