]> Cypherpunks repositories - gostls13.git/commitdiff
os: fix typo in doc
authormattn <mattn.jp@gmail.com>
Tue, 17 Feb 2015 00:16:06 +0000 (09:16 +0900)
committerAndrew Gerrand <adg@golang.org>
Tue, 17 Feb 2015 00:21:02 +0000 (00:21 +0000)
Change-Id: I9797b44dfa7c2c853b7a656f4f722df2c862824b
Reviewed-on: https://go-review.googlesource.com/4991
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/os/env.go

index d0494a476340d8f80e117a7e029cc9673c626854..5c22fbc3d7e8bd866aebe3ebd46e8e80e3faaaaf 100644 (file)
@@ -48,7 +48,7 @@ func isAlphaNum(c uint8) bool {
        return c == '_' || '0' <= c && c <= '9' || 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z'
 }
 
-// getName returns the name that begins the string and the number of bytes
+// getShellName returns the name that begins the string and the number of bytes
 // consumed to extract it.  If the name is enclosed in {}, it's part of a ${}
 // expansion and two more bytes are needed than the length of the name.
 func getShellName(s string) (string, int) {