浏览代码

go.net/proxy: fix typo in doc

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/12702044
ChaiShushan 12 年之前
父节点
当前提交
77895031fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      proxy/proxy.go

+ 1 - 1
proxy/proxy.go

@@ -24,7 +24,7 @@ type Auth struct {
 	User, Password string
 	User, Password string
 }
 }
 
 
-// DefaultDialer returns the dialer specified by the proxy related variables in
+// FromEnvironment returns the dialer specified by the proxy related variables in
 // the environment.
 // the environment.
 func FromEnvironment() Dialer {
 func FromEnvironment() Dialer {
 	allProxy := os.Getenv("all_proxy")
 	allProxy := os.Getenv("all_proxy")