소스 검색

rlp: fix comment typo (#17640)

chenyufeng 7 년 전
부모
커밋
2d98099c25
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rlp/typecache.go

+ 1 - 1
rlp/typecache.go

@@ -76,7 +76,7 @@ func cachedTypeInfo1(typ reflect.Type, tags tags) (*typeinfo, error) {
 		// another goroutine got the write lock first
 		return info, nil
 	}
-	// put a dummmy value into the cache before generating.
+	// put a dummy value into the cache before generating.
 	// if the generator tries to lookup itself, it will get
 	// the dummy value and won't call itself recursively.
 	typeCache[key] = new(typeinfo)