From a925402b62c06d1cfe2b345cba0b11fa06b8401d Mon Sep 17 00:00:00 2001 From: cuishuang Date: Wed, 20 Nov 2024 21:56:27 +0800 Subject: all: fix some function names and typos in comment Change-Id: I07e7c8eaa5bd4bac0d576b2f2f4cd3f81b0b77a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/630055 LUCI-TryBot-Result: Go LUCI Commit-Queue: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Reviewed-by: Russ Cox Auto-Submit: Ian Lance Taylor --- src/cmd/internal/objfile/disasm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/internal/objfile') diff --git a/src/cmd/internal/objfile/disasm.go b/src/cmd/internal/objfile/disasm.go index 4334e88fad..99f54143fa 100644 --- a/src/cmd/internal/objfile/disasm.go +++ b/src/cmd/internal/objfile/disasm.go @@ -188,7 +188,7 @@ func (fc *FileCache) Line(filename string, line int) ([]byte, error) { // Print prints a disassembly of the file to w. // If filter is non-nil, the disassembly only includes functions with names matching filter. -// If printCode is true, the disassembly includs corresponding source lines. +// If printCode is true, the disassembly includes corresponding source lines. // The disassembly only includes functions that overlap the range [start, end). func (d *Disasm) Print(w io.Writer, filter *regexp.Regexp, start, end uint64, printCode bool, gnuAsm bool) { if start < d.textStart { -- cgit v1.3