aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAKSUM <51446624+AKSUMRUS@users.noreply.github.com>2024-05-31 17:25:15 +0300
committerDmitry Vyukov <dvyukov@google.com>2024-05-31 14:33:16 +0000
commit3113787fe7a0c96998737e520aa95c303fdd41ef (patch)
tree1b0146287b31ef430c78eafb953e2eb66acfc724
parent11e71a0fcedbc1ddd3378555860880d0eadf5957 (diff)
prog: fix a typo in comments
-rw-r--r--prog/prog.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/prog/prog.go b/prog/prog.go
index 29667d217..6fabaa680 100644
--- a/prog/prog.go
+++ b/prog/prog.go
@@ -453,12 +453,12 @@ func removeArg(arg0 Arg) {
})
}
-// The public alias for the removeArg method.
+// RemoveArg is the public alias for the removeArg method.
func RemoveArg(arg Arg) {
removeArg(arg)
}
-// removeCall removes call idx from p.
+// RemoveCall removes call idx from p.
func (p *Prog) RemoveCall(idx int) {
c := p.Calls[idx]
for _, arg := range c.Args {