Skip to content

Commit

Permalink
Remove owned annotation from idx arg in insert
Browse files Browse the repository at this point in the history
Co-authored-by: soraros <soraros@users.noreply.github.com>
Signed-off-by: bgreni <42788181+bgreni@users.noreply.github.com>
  • Loading branch information
bgreni and soraros committed Feb 11, 2025
1 parent 5d58d5a commit 37fea90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/src/collections/linked_list.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ struct LinkedList[

fn insert[
I: Indexer
](mut self, owned idx: I, owned elem: ElementType) raises:
](mut self, idx: I, owned elem: ElementType) raises:
"""
Insert an element `elem` into the list at index `idx`.
Expand Down

0 comments on commit 37fea90

Please sign in to comment.