Description
Certain functions, for a particular set of arguments, have shorthands that can be used instead. For example, go wg.Add(1) // some code wg.Add(-1) can be replaced with go wg.Add(1) // some code wg.Done() Similarly, go strings.SplitN(str, splitChar, -1) can be replaced with go strings.Split(str, splitChar) ```go …
Occurrences
There are 5 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/ii64/tanem/issue/CRT-A0010/occurrences/