From bde81be39b9efbf5b80719bb91ad1a0ebc5186b5 Mon Sep 17 00:00:00 2001 From: cuishuang Date: Wed, 1 Jan 2025 09:32:57 +0800 Subject: [PATCH] all: make function comments match function names Change-Id: I279c95d1d1e5f07e0c7a0c4416bf3613d85bb950 Reviewed-on: https://go-review.googlesource.com/c/arch/+/639476 Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Cherry Mui LUCI-TryBot-Result: Go LUCI --- arm64/arm64asm/ext_test.go | 2 +- loong64/loong64asm/ext_test.go | 2 +- riscv64/riscv64asm/ext_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arm64/arm64asm/ext_test.go b/arm64/arm64asm/ext_test.go index f432203..e8a79de 100644 --- a/arm64/arm64asm/ext_test.go +++ b/arm64/arm64asm/ext_test.go @@ -268,7 +268,7 @@ func disasm(syntax string, src []byte) (inst Inst, text string) { return } -// decodecoverage returns a floating point number denoting the +// decodeCoverage returns a floating point number denoting the // decoder coverage. func decodeCoverage() float64 { n := 0 diff --git a/loong64/loong64asm/ext_test.go b/loong64/loong64asm/ext_test.go index 5c90586..5e73c80 100644 --- a/loong64/loong64asm/ext_test.go +++ b/loong64/loong64asm/ext_test.go @@ -240,7 +240,7 @@ func disasm(syntax string, src []byte) (inst Inst, text string) { return } -// decodecoverage returns a floating point number denoting the +// decodeCoverage returns a floating point number denoting the // decoder coverage. func decodeCoverage() float64 { n := 0 diff --git a/riscv64/riscv64asm/ext_test.go b/riscv64/riscv64asm/ext_test.go index 25e2bf7..556cd01 100644 --- a/riscv64/riscv64asm/ext_test.go +++ b/riscv64/riscv64asm/ext_test.go @@ -242,7 +242,7 @@ func disasm(syntax string, src []byte) (inst Inst, text string) { return } -// decodecoverage returns a floating point number denoting the +// decodeCoverage returns a floating point number denoting the // decoder coverage. func decodeCoverage() float64 { n := 0