this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

all: linkify more godoc references

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ia7fa1dfbba25a7d4a758f6ecfcd49de7e47ae733
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201363
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>

+4 -4
+1 -1
cue/ast/ident.go
··· 130 130 } 131 131 132 132 // ErrIsExpression reports whether a label is an expression. 133 - // This error is never returned directly. Use errors.Is. 133 + // This error is never returned directly. Use [errors.Is]. 134 134 var ErrIsExpression = errors.New("not a concrete label")
+1 -1
cue/types.go
··· 2260 2260 } 2261 2261 2262 2262 // Validate reports any errors, recursively. The returned error may represent 2263 - // more than one error, retrievable with errors.Errors, if more than one 2263 + // more than one error, retrievable with [errors.Errors], if more than one 2264 2264 // exists. 2265 2265 // 2266 2266 // Note that by default not all errors are reported, unless options like
+1 -1
mod/modcache/cache.go
··· 92 92 93 93 // downloadDir returns the directory for storing. 94 94 // An error will be returned if the module path or version cannot be escaped. 95 - // An error satisfying errors.Is(err, fs.ErrNotExist) will be returned 95 + // An error satisfying [errors.Is](err, [fs.ErrNotExist]) will be returned 96 96 // along with the directory if the directory does not exist or if the directory 97 97 // is not completely populated. 98 98 func (c *cache) downloadDir(m module.Version) (string, error) {
+1 -1
mod/modregistry/client.go
··· 107 107 } 108 108 109 109 // GetModule returns the module instance for the given version. 110 - // It returns an error that satisfies errors.Is(ErrNotFound) if the 110 + // It returns an error that satisfies [errors.Is]([ErrNotFound]) if the 111 111 // module is not present in the store at this version. 112 112 func (c *Client) GetModule(ctx context.Context, m module.Version) (*Module, error) { 113 113 loc, err := c.resolve(m)