godwarf/type: fix typo (#2813)

This commit is contained in:
hitzhangjie 2021-12-02 19:17:47 +08:00 committed by GitHub
parent 3833c3d029
commit 1a815365d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -555,7 +555,7 @@ type delayedSize struct {
}
// readType reads a type from r at off of name using and updating a
// type cache, callers sohuld pass nil to delayedSize, it is used for recursion.
// type cache, callers should pass nil to delayedSize, it is used for recursion.
func readType(d *dwarf.Data, name string, r *dwarf.Reader, off dwarf.Offset, typeCache map[dwarf.Offset]Type, delayedSizes *[]delayedSize) (Type, error) {
if t, ok := typeCache[off]; ok {
return t, nil