Skip to content

Commit

Permalink
s/recv/receive/
Browse files Browse the repository at this point in the history
  • Loading branch information
mauri870 committed Jul 20, 2023
1 parent a881187 commit 2003df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflect/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ func (v Value) capNonSlice() int {

// Close closes the channel v.
// It panics if v's Kind is not Chan or
// v is a recv-only channel.
// v is a receive-only channel.
func (v Value) Close() {
v.mustBe(Chan)
v.mustBeExported()
Expand Down

0 comments on commit 2003df3

Please sign in to comment.