]> Cypherpunks repositories - gostls13.git/commitdiff
all: fix typo in doc
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Tue, 17 Feb 2015 02:04:07 +0000 (11:04 +0900)
committerMinux Ma <minux@golang.org>
Tue, 17 Feb 2015 04:37:18 +0000 (04:37 +0000)
Change-Id: I89fdda2914030dfea3183a8b4681dd4b33489729
Reviewed-on: https://go-review.googlesource.com/4996
Reviewed-by: Minux Ma <minux@golang.org>
src/net/ip.go
src/os/env.go
src/runtime/race1.go

index 7bcc40e8f67f04363ae1de01f17db5e3ae4e0702..f83658ccb9e608154fc0b318278be46bd4a872c3 100644 (file)
@@ -132,7 +132,7 @@ func (ip IP) IsMulticast() bool {
        return ip[0] == 0xff
 }
 
-// IsInterfaceLinkLocalMulticast returns true if ip is
+// IsInterfaceLocalMulticast returns true if ip is
 // an interface-local multicast address.
 func (ip IP) IsInterfaceLocalMulticast() bool {
        return len(ip) == IPv6len && ip[0] == 0xff && ip[1]&0x0f == 0x01
index 5c22fbc3d7e8bd866aebe3ebd46e8e80e3faaaaf..4bc6dade4438a6e50e67078dcf5cef3bcbb82274 100644 (file)
@@ -33,7 +33,7 @@ func ExpandEnv(s string) string {
        return Expand(s, Getenv)
 }
 
-// isSpellSpecialVar reports whether the character identifies a special
+// isShellSpecialVar reports whether the character identifies a special
 // shell variable such as $*.
 func isShellSpecialVar(c uint8) bool {
        switch c {
index 7e011fe24745a7949ab510aaadf4951aa34b66f9..41f4938e876e13e32a9138f633f2a2a541664f20 100644 (file)
@@ -314,7 +314,7 @@ func RaceReleaseMerge(addr unsafe.Pointer) {
 
 //go:nosplit
 
-// RaceEnable re-enables handling of race events in the current goroutine.
+// RaceDisable disables handling of race events in the current goroutine.
 func RaceDisable() {
        _g_ := getg()
        if _g_.raceignore == 0 {
@@ -325,7 +325,7 @@ func RaceDisable() {
 
 //go:nosplit
 
-// RaceDisable disables handling of race events in the current goroutine.
+// RaceEnable re-enables handling of race events in the current goroutine.
 func RaceEnable() {
        _g_ := getg()
        _g_.raceignore--