From: Matthew Dempsky Date: Tue, 24 Apr 2018 23:25:45 +0000 (-0700) Subject: go/types: fix lhs/rhs mixup in docs X-Git-Tag: go1.11beta1~695 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a5f19812cf0a8be6df68b9f90a8b80d734b6e862;p=gostls13.git go/types: fix lhs/rhs mixup in docs Change-Id: Ifd51636c9254de51b8a21371d7507a9481bcca0a Reviewed-on: https://go-review.googlesource.com/109142 Reviewed-by: Robert Griesemer --- diff --git a/src/go/types/api.go b/src/go/types/api.go index 9908f5c973..f202eb0c34 100644 --- a/src/go/types/api.go +++ b/src/go/types/api.go @@ -309,7 +309,7 @@ func (tv TypeAndValue) Assignable() bool { } // HasOk reports whether the corresponding expression may be -// used on the lhs of a comma-ok assignment. +// used on the rhs of a comma-ok assignment. func (tv TypeAndValue) HasOk() bool { return tv.mode == commaok || tv.mode == mapindex }