From 2d98099c25f85a531f0acf28d89ca710f4569c6c Mon Sep 17 00:00:00 2001 From: chenyufeng Date: Tue, 11 Sep 2018 23:05:28 +0800 Subject: rlp: fix comment typo (#17640) --- rlp/typecache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rlp') 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) -- cgit v1.2.3