Skip to content

Commit

Permalink
cue/load: fix doc comment typo
Browse files Browse the repository at this point in the history
The doc comment refers to `ImportPaths` but the actual method name is
`importPaths`.

Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: I766b896b08d467d8c75c3f28ee69bfd50bac511e
Dispatch-Trailer: {"type":"trybot","CL":1185364,"patchset":2,"ref":"refs/changes/64/1185364/2","targetBranch":"master"}
  • Loading branch information
rogpeppe authored and cueckoo committed Mar 20, 2024
1 parent fc5d8be commit e913d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cue/load/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func (l *loader) importPaths(patterns []string) []*match {
return matches
}

// importPathsQuiet is like ImportPaths but does not warn about patterns with no matches.
// importPathsQuiet is like importPaths but does not warn about patterns with no matches.
func (l *loader) importPathsQuiet(patterns []string) []*match {
var out []*match
for _, a := range cleanPatterns(patterns) {
Expand Down

0 comments on commit e913d00

Please sign in to comment.