Assign the result of append
append returns a new slice; dropping the result loses the appended element.
#Metadata
#Why it matters
`append` may allocate a new backing array, so it always returns the resulting slice. Calling `append(s, x)` as a standalone statement silently throws the update away.
#Remediation
Assign the result back to the slice variable, e.g. `s = append(s, x)`.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/go/go.correctness.unused-append-result.rule.yaml.