Files
kitty-mirror/tools/cli
Eng Zer Jun 77563cebb0 cli/command: remove redundant nil check
From the Go specification:

  "1. 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 <engzerjun@gmail.com>
2023-08-30 11:50:52 +08:00
..
2023-02-03 16:14:24 +05:30
2023-08-05 10:11:15 +05:30
2022-12-13 16:19:46 +05:30