fix doc typo

This commit is contained in:
Arpad Ryszka 2025-08-23 23:04:04 +02:00
parent 755a103f37
commit 33f19ec273

View File

@ -623,7 +623,7 @@ func format(w io.Writer, pname string, docs map[string]string) error {
// GenerateRegistry generates a Go code file to the output, including a package init function that // GenerateRegistry generates a Go code file to the output, including a package init function that
// will register the documentation of the declarations specified by their gopath. // will register the documentation of the declarations specified by their gopath.
// //
// The gopath argument accepts any number of package, package level symbol, of struct field paths. // The gopath argument accepts any number of package, package level symbol, or struct field paths.
// It is recommended to use package paths unless special circumstances. // It is recommended to use package paths unless special circumstances.
// //
// Some important gotchas to keep in mind, GenerateRegistry does not resolve type references like // Some important gotchas to keep in mind, GenerateRegistry does not resolve type references like