all: fix a few function names on comments

Change-Id: I6c853dd402d296701e38289bbc418730b068dde8
Reviewed-on: https://go-review.googlesource.com/c/net/+/441716
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
diff --git a/dict/dict.go b/dict/dict.go
index 7183983..da1f072 100644
--- a/dict/dict.go
+++ b/dict/dict.go
@@ -140,7 +140,7 @@
 	return def, err
 }
 
-// Fields returns the fields in s.
+// fields returns the fields in s.
 // Fields are space separated unquoted words
 // or quoted with single or double quote.
 func fields(s string) ([]string, error) {
diff --git a/html/parse.go b/html/parse.go
index 038941d..291c919 100644
--- a/html/parse.go
+++ b/html/parse.go
@@ -734,7 +734,7 @@
 	return false
 }
 
-// 12.2.6.4.5.
+// Section 12.2.6.4.5.
 func inHeadNoscriptIM(p *parser) bool {
 	switch p.tok.Type {
 	case DoctypeToken:
diff --git a/webdav/prop.go b/webdav/prop.go
index aa72c62..fca3154 100644
--- a/webdav/prop.go
+++ b/webdav/prop.go
@@ -162,7 +162,7 @@
 
 // TODO(nigeltao) merge props and allprop?
 
-// Props returns the status of the properties named pnames for resource name.
+// props returns the status of the properties named pnames for resource name.
 //
 // Each Propstat has a unique status and each property name will only be part
 // of one Propstat element.
@@ -213,7 +213,7 @@
 	return makePropstats(pstatOK, pstatNotFound), nil
 }
 
-// Propnames returns the property names defined for resource name.
+// propnames returns the property names defined for resource name.
 func propnames(ctx context.Context, fs FileSystem, ls LockSystem, name string) ([]xml.Name, error) {
 	f, err := fs.OpenFile(ctx, name, os.O_RDONLY, 0)
 	if err != nil {
@@ -246,7 +246,7 @@
 	return pnames, nil
 }
 
-// Allprop returns the properties defined for resource name and the properties
+// allprop returns the properties defined for resource name and the properties
 // named in include.
 //
 // Note that RFC 4918 defines 'allprop' to return the DAV: properties defined
@@ -272,7 +272,7 @@
 	return props(ctx, fs, ls, name, pnames)
 }
 
-// Patch patches the properties of resource name. The return values are
+// patch patches the properties of resource name. The return values are
 // constrained in the same manner as DeadPropsHolder.Patch.
 func patch(ctx context.Context, fs FileSystem, ls LockSystem, name string, patches []Proppatch) ([]Propstat, error) {
 	conflict := false
diff --git a/webdav/xml.go b/webdav/xml.go
index 790dc81..fbd43cf 100644
--- a/webdav/xml.go
+++ b/webdav/xml.go
@@ -113,7 +113,7 @@
 	return s
 }
 
-// Next returns the next token, if any, in the XML stream of d.
+// next returns the next token, if any, in the XML stream of d.
 // RFC 4918 requires to ignore comments, processing instructions
 // and directives.
 // http://www.webdav.org/specs/rfc4918.html#property_values