If you find the official release notes a bit dry, I've made an interactive version: https://antonz.org/go-1-22
> Functions that shrink the size of a slice (Delete, DeleteFunc, Compact, CompactFunc, and Replace) now zero the elements between the new length and the old length.