Skip to content

Commit

Permalink
Merge pull request #313 from zenhack/client.Release-docs
Browse files Browse the repository at this point in the history
Fix incorrect docs for Client.Release().
  • Loading branch information
zenhack authored Sep 30, 2022
2 parents eb4e490 + 8507f2e commit 6482672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ func (c Client) String() string {
// reference to the capability, then the underlying resources associated
// with the capability will be released.
//
// Release will panic if c has already been released, but not if c is
// Release has no effect if c has already been released, or if c is
// nil or resolved to null.
func (c Client) Release() {
if c.client == nil {
Expand Down

0 comments on commit 6482672

Please sign in to comment.