1
0
mirror of https://github.com/golang/go synced 2024-11-23 16:00:06 -07:00
go/src/container
Joe Kyo 2edeb23bf5 container/list: remove temporary variable n
The variable `n` for saving the pointer of the next
element when insert new element into the list turns
out to be unnecessary.

Change-Id: I17b85fd8350738815c320a83945525b60c2f04c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/207037
Reviewed-by: Robert Griesemer <gri@golang.org>
2020-02-21 18:32:32 +00:00
..
heap
list container/list: remove temporary variable n 2020-02-21 18:32:32 +00:00
ring