aboutsummaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/gosym/symtab.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/gosym/symtab.go b/src/debug/gosym/symtab.go
index 4e63f1cdf7..afc67198c3 100644
--- a/src/debug/gosym/symtab.go
+++ b/src/debug/gosym/symtab.go
@@ -86,7 +86,7 @@ func (s *Sym) ReceiverName() string {
// Find the first dot after pathend (or from the beginning, if there was
// no slash in name).
l := strings.Index(name[pathend:], ".")
- // Find the last dot after pathend (or the beginnng).
+ // Find the last dot after pathend (or the beginning).
r := strings.LastIndex(name[pathend:], ".")
if l == -1 || r == -1 || l == r {
// There is no receiver if we didn't find two distinct dots after pathend.