From 690ac4071fa3e07113bf371c9e74394ab54d6749 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 30 Jan 2022 20:11:47 -0500 Subject: all: remove trailing blank doc comment lines A future change to gofmt will rewrite // Doc comment. // func f() to // Doc comment. func f() Apply that change preemptively to all doc comments. For #51082. Change-Id: I4023e16cfb0729b64a8590f071cd92f17343081d Reviewed-on: https://go-review.googlesource.com/c/go/+/384259 Trust: Russ Cox Run-TryBot: Russ Cox Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot --- src/encoding/binary/varint.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/encoding/binary') diff --git a/src/encoding/binary/varint.go b/src/encoding/binary/varint.go index 8fe20b5c45..bfb4dd193e 100644 --- a/src/encoding/binary/varint.go +++ b/src/encoding/binary/varint.go @@ -56,7 +56,6 @@ func PutUvarint(buf []byte, x uint64) int { // n == 0: buf too small // n < 0: value larger than 64 bits (overflow) // and -n is the number of bytes read -// func Uvarint(buf []byte) (uint64, int) { var x uint64 var s uint @@ -95,7 +94,6 @@ func PutVarint(buf []byte, x int64) int { // n == 0: buf too small // n < 0: value larger than 64 bits (overflow) // and -n is the number of bytes read -// func Varint(buf []byte) (int64, int) { ux, n := Uvarint(buf) // ok to continue in presence of error x := int64(ux >> 1) -- cgit v1.3