From: mattn Date: Tue, 17 Feb 2015 00:16:06 +0000 (+0900) Subject: os: fix typo in doc X-Git-Tag: go1.5beta1~1974 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=38be309dcfebb07dd7ca286509c1ee1f4abd9592;p=gostls13.git os: fix typo in doc Change-Id: I9797b44dfa7c2c853b7a656f4f722df2c862824b Reviewed-on: https://go-review.googlesource.com/4991 Reviewed-by: Andrew Gerrand --- diff --git a/src/os/env.go b/src/os/env.go index d0494a4763..5c22fbc3d7 100644 --- a/src/os/env.go +++ b/src/os/env.go @@ -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) {