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
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1185364
Reviewed-by: Paul Jolly <paul@myitcv.io>
TryBot-Result: CUEcueckoo <cueckoo@gmail.com>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
  • Loading branch information
rogpeppe committed Mar 25, 2024
1 parent 2aec394 commit 9b83404
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 9b83404

Please sign in to comment.