Skip to content

Commit 9b61d75

Browse files
committed
fix comments
1 parent 7b03f8d commit 9b61d75

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

codes/codes.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ import (
2525
"strconv"
2626
)
2727

28-
// A Code is a status code according to the gRPC spec:
29-
//
30-
// https://github.com/grpc/grpc/blob/master/doc/statuscodes.md
28+
// A Code is a status code defined according to the [gRPC documentation].
3129
//
3230
// Only the codes defined as consts in this package are valid codes. Do not use
33-
// other code values. Behavior and interopability are implementation-specific
34-
// and not guaranteed.
31+
// other code values. Behavior of other codes is implementation-specific and
32+
// interoperability between implementations is not guaranteed.
33+
//
34+
// [gRPC documentation]: https://github.com/grpc/grpc/blob/master/doc/statuscodes.md
3535
type Code uint32
3636

3737
const (

0 commit comments

Comments
 (0)