Skip to content

Commit 38fbdcf

Browse files
committed
Clarify docs
Per Louis's questions.
1 parent ad4f48e commit 38fbdcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

capability.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,8 +854,8 @@ type ClientHook interface {
854854

855855
// Shutdown releases any resources associated with this capability.
856856
// The behavior of calling any methods on the receiver after calling
857-
// Shutdown is undefined. Any already-outstanding calls should not
858-
// be interrupted.
857+
// Shutdown is undefined. Shutdown must not interrupt any already
858+
// outstanding calls.
859859
Shutdown()
860860

861861
// String formats the hook as a string (same as fmt.Stringer)

0 commit comments

Comments
 (0)