Enable wastedassign linter & fix findings (#13507)

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
This commit is contained in:
Justin Traglia
2024-01-25 11:07:48 -06:00
committed by GitHub
parent c4c28e4825
commit 835dce5f6e
8 changed files with 8 additions and 11 deletions

View File

@@ -94,7 +94,6 @@ func (l *List[T]) Remove(n *Node[T]) {
n.next.prev = n.prev
}
}
n = nil
l.len--
}