Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(astutils): remove redundant nil check in
Walk
(#2660)
From the Go docs: "For a nil slice, the number of iterations is 0." [1] Therefore, an additional nil check for before the loop is unnecessary. [1]: https://go.dev/ref/spec#For_range Signed-off-by: Eng Zer Jun <[email protected]>
- Loading branch information