aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchenyufeng <yufengcode@gmail.com>2018-09-11 23:05:28 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-09-11 23:05:28 +0800
commit2d98099c25f85a531f0acf28d89ca710f4569c6c (patch)
treef88d6e302062de36b1db0cebd3b9a74621b837f2
parent6dd87483d4ded2a5ab76d19e0acaa5c6b06312a9 (diff)
downloadgo-tangerine-2d98099c25f85a531f0acf28d89ca710f4569c6c.tar
go-tangerine-2d98099c25f85a531f0acf28d89ca710f4569c6c.tar.gz
go-tangerine-2d98099c25f85a531f0acf28d89ca710f4569c6c.tar.bz2
go-tangerine-2d98099c25f85a531f0acf28d89ca710f4569c6c.tar.lz
go-tangerine-2d98099c25f85a531f0acf28d89ca710f4569c6c.tar.xz
go-tangerine-2d98099c25f85a531f0acf28d89ca710f4569c6c.tar.zst
go-tangerine-2d98099c25f85a531f0acf28d89ca710f4569c6c.zip
rlp: fix comment typo (#17640)
-rw-r--r--rlp/typecache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rlp/typecache.go b/rlp/typecache.go
index 3df799e1e..8c2dd518e 100644
--- a/rlp/typecache.go
+++ b/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)