Commit f4de042e authored by Alexei Sholik's avatar Alexei Sholik Committed by Brad Fitzpatrick

go/ast: fix typo in Fprint documentation

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8499043
parent 2be84a8c
...@@ -34,7 +34,7 @@ func NotNilFilter(_ string, v reflect.Value) bool { ...@@ -34,7 +34,7 @@ func NotNilFilter(_ string, v reflect.Value) bool {
// //
// A non-nil FieldFilter f may be provided to control the output: // A non-nil FieldFilter f may be provided to control the output:
// struct fields for which f(fieldname, fieldvalue) is true are // struct fields for which f(fieldname, fieldvalue) is true are
// are printed; all others are filtered from the output. Unexported // printed; all others are filtered from the output. Unexported
// struct fields are never printed. // struct fields are never printed.
// //
func Fprint(w io.Writer, fset *token.FileSet, x interface{}, f FieldFilter) (err error) { func Fprint(w io.Writer, fset *token.FileSet, x interface{}, f FieldFilter) (err error) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment