Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp authored and spytheman committed Nov 20, 2024
1 parent 8f0bead commit 59273c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/tests/generics/generic_selector_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn (mut l List[T]) append(mut node Node[T]) ?int {
for {
if curr_node != none {
if next_node := curr_node?.next {
curr_node = next_node
curr_node = unsafe { next_node }
} else {
curr_node?.next = &node
l.size = l.size + 1
Expand Down

0 comments on commit 59273c3

Please sign in to comment.