mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
docs:The word dummmy was misspelled and changed to dummy.
This commit is contained in:
parent
fb368723ac
commit
84ad1b58f2
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ func cachedTypeInfo1(typ reflect.Type, tags tags) (*typeinfo, error) {
|
||||||
// another goroutine got the write lock first
|
// another goroutine got the write lock first
|
||||||
return info, nil
|
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
|
// if the generator tries to lookup itself, it will get
|
||||||
// the dummy value and won't call itself recursively.
|
// the dummy value and won't call itself recursively.
|
||||||
typeCache[key] = new(typeinfo)
|
typeCache[key] = new(typeinfo)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue