code: func (r *BasicReleaser) SetReleaser(releaser Releaser) {
  	if r.released {
  		panic(ErrReleased)
  	}
  	if r.releaser != nil && releaser != nil {
  		panic(ErrHasReleaser)
  	}
  	r.releaser = releaser
  }
docs: // SetReleaser implements ReleaseSetter.SetReleaser.