From 9d6c711e3c7f16fd4dd2e812d855e881c6692f3e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 29 Mar 2022 15:55:27 -0700 Subject: [PATCH] runtime: use correct parameter name in comment Change-Id: If8713aca9d6b1f1c218e85f09c9ee016833b3faa Reviewed-on: https://go-review.googlesource.com/c/go/+/396515 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Emmanuel Odeke --- src/runtime/mbarrier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/mbarrier.go b/src/runtime/mbarrier.go index 465c21f83f..a0d145ec76 100644 --- a/src/runtime/mbarrier.go +++ b/src/runtime/mbarrier.go @@ -147,7 +147,7 @@ import ( // remove the deletion barrier, we'll have to work out a new way to // handle the profile logging. -// typedmemmove copies a value of type t to dst from src. +// typedmemmove copies a value of type typ to dst from src. // Must be nosplit, see #16026. // // TODO: Perfect for go:nosplitrec since we can't have a safe point -- 2.50.0