mirror of
https://gitee.com/gitea/gitea
synced 2025-12-16 13:06:36 +08:00
From the Go specification: > "1. For a nil slice, the number of iterations is 0." https://go.dev/ref/spec#For_range Therefore, an additional nil check for before the loop is unnecessary. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
10 KiB
10 KiB