antonbaumann/german-go-stemmer

(CRT-A0016) Slice can be used directly

Opened this issue · 0 comments

Description

If a value is of type slice already, it need not be converted to slice. Example: f(s[:]) // s is string copy(b[:], values...) // b is []byte should be written as: f(s) copy(b, values...)

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/antonbaumann/german-go-stemmer/issue/CRT-A0016/occurrences/