From e348c933b78dc493a24a8d80746241dde3b70d96 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 5 Apr 2022 11:43:02 +0300 Subject: [PATCH] util/proto: fix doc comment Signed-off-by: Evgenii Stratonikov --- util/proto/marshal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/proto/marshal.go b/util/proto/marshal.go index 15c67a2..589c0be 100644 --- a/util/proto/marshal.go +++ b/util/proto/marshal.go @@ -286,7 +286,7 @@ func RepeatedInt32Size(field int, v []int32) (size, arraySize int) { return RepeatedUInt64Size(field, convert) } -// varUIntSize returns length of varint byte sequence for uint64 value 'x'. +// VarUIntSize returns length of varint byte sequence for uint64 value 'x'. func VarUIntSize(x uint64) int { return (bits.Len64(x|1) + 6) / 7 }