]> Cypherpunks.ru repositories - gostls13.git/commitdiff
log/slog: fix broken link to AnyValue in comment
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Fri, 23 Jun 2023 11:52:31 +0000 (18:52 +0700)
committerJonathan Amsterdam <jba@google.com>
Fri, 23 Jun 2023 12:15:52 +0000 (12:15 +0000)
Change-Id: Ida52a2bf6a415017942bf9ccd74a1ea9ed02bc46
Reviewed-on: https://go-review.googlesource.com/c/go/+/505535
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>

src/log/slog/attr.go

index a180d0e1d3d0f8a9dfeeec0e97af4dd6af3bf493..90e343b3193156914f3b7d263238a1e605da4b38 100644 (file)
@@ -81,7 +81,7 @@ func argsToAttrSlice(args []any) []Attr {
 }
 
 // Any returns an Attr for the supplied value.
-// See [Value.AnyValue] for how values are treated.
+// See [AnyValue] for how values are treated.
 func Any(key string, value any) Attr {
        return Attr{key, AnyValue(value)}
 }