提交 2d98099c 编写于 作者: C chenyufeng 提交者: Péter Szilágyi

rlp: fix comment typo (#17640)

上级 6dd87483
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册