summaryrefslogtreecommitdiffhomepage
path: root/pkg/refsvfs2/refs_template.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/refsvfs2/refs_template.go')
-rw-r--r--pkg/refsvfs2/refs_template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/refsvfs2/refs_template.go b/pkg/refsvfs2/refs_template.go
index 1102c8adc..55b0a60a1 100644
--- a/pkg/refsvfs2/refs_template.go
+++ b/pkg/refsvfs2/refs_template.go
@@ -101,7 +101,7 @@ func (r *Refs) IncRef() {
}
}
-// TryIncRef implements refs.RefCounter.TryIncRef.
+// TryIncRef implements refs.TryRefCounter.TryIncRef.
//
// To do this safely without a loop, a speculative reference is first acquired
// on the object. This allows multiple concurrent TryIncRef calls to distinguish