From b77aad089176ecab971d3a72f0357ed0abc81f4a Mon Sep 17 00:00:00 2001 From: Zhou Peng Date: Fri, 2 Mar 2018 11:51:22 +0000 Subject: [PATCH] runtime: fix typo, func comments should start with function name Change-Id: I289af4884583537639800e37928c22814d38cba9 Reviewed-on: https://go-review.googlesource.com/98115 Reviewed-by: Alberto Donizetti --- src/runtime/mbitmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go index 294e3739b7..afaec55569 100644 --- a/src/runtime/mbitmap.go +++ b/src/runtime/mbitmap.go @@ -170,7 +170,7 @@ func (s *mspan) allocBitsForIndex(allocBitIndex uintptr) markBits { return markBits{bytep, mask, allocBitIndex} } -// refillaCache takes 8 bytes s.allocBits starting at whichByte +// refillAllocCache takes 8 bytes s.allocBits starting at whichByte // and negates them so that ctz (count trailing zeros) instructions // can be used. It then places these 8 bytes into the cached 64 bit // s.allocCache. -- 2.50.0