Passing &slice to a function implies mutation.
(p *[]int)
| 169 | // Passing &slice to a function implies mutation. |
| 170 | |
| 171 | func pointerArg(p *[]int) {} |
| 172 | |
| 173 | func slicePointerAfterDefer() { |
| 174 | s := []int{1, 2, 3} |
no outgoing calls
no test coverage detected