code: func newLeakcheckElemTypePool(opts leakcheckElemTypePoolOpts, backingPool elemTypePool) *leakcheckElemTypePool {
  	if opts.EqualsFn == nil {
  		// NB(prateek): fall-back to == in the worst case
  		opts.EqualsFn = func(a, b elemType) bool {
  			return a == b
  		}
  	}
  	return &leakcheckElemTypePool{opts: opts, elemTypePool: backingPool}
  }
docs: // newLeakcheckElemTypePool returns a new leakcheckElemTypePool.
  // nolint