diff options
| author | Alex Kohler <alexjohnkohler@gmail.com> | 2018-08-30 10:01:54 -0400 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-08-30 15:41:29 +0000 |
| commit | 31389254def190938c0cc802f645f958734bc865 (patch) | |
| tree | 257335600b132d31942cfda4a8a153324a8046bf /src/cmd/trace/annotations.go | |
| parent | dd9e81f678c74550dba7faefe3545d0839f28b65 (diff) | |
| download | go-31389254def190938c0cc802f645f958734bc865.tar.xz | |
all: fix typos
Change-Id: Icded6c786b7b185d5aff055f34e0cfe9e521826a
Reviewed-on: https://go-review.googlesource.com/132176
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/trace/annotations.go')
| -rw-r--r-- | src/cmd/trace/annotations.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cmd/trace/annotations.go b/src/cmd/trace/annotations.go index 8071ac8879..307da58bd5 100644 --- a/src/cmd/trace/annotations.go +++ b/src/cmd/trace/annotations.go @@ -438,9 +438,8 @@ func (task *taskDesc) complete() bool { return task.create != nil && task.end != nil } -// descendents returns all the task nodes in the subtree rooted from this task. -// TODO: the method name is misspelled -func (task *taskDesc) decendents() []*taskDesc { +// descendants returns all the task nodes in the subtree rooted from this task. +func (task *taskDesc) descendants() []*taskDesc { if task == nil { return nil } |
