rlp: fix comment typo (#17640)

This commit is contained in:
chenyufeng 2018-09-11 23:05:28 +08:00 committed by Péter Szilágyi
parent 6dd87483d4
commit 2d98099c25

View File

@ -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)