aboutsummaryrefslogtreecommitdiff
path: root/furgit.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 05:56:51 +0000
committerGravatar Runxi Yu2026-03-29 05:56:51 +0000
commit9bd37998c9ea890401b66604806f7d1fe06b9256 (patch)
treefcfe8439d374702a2527bb43c4b3555c541e9a15 /furgit.go
parentREADME: Repository gets new methods (diff)
signatureNo signature
*: Repeated calls to Close are UB by default v0.1.132
Diffstat (limited to 'furgit.go')
-rw-r--r--furgit.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/furgit.go b/furgit.go
index e724ed8b..a43f6d40 100644
--- a/furgit.go
+++ b/furgit.go
@@ -40,7 +40,8 @@
// - Close-Caller: the caller must close the returned value.
// - Close-No: the caller must not close the returned value directly.
// - Close-Idem: repeated Close calls are safe.
-// - Close-UB: repeated Close calls are undefined behavior.
+//
+// Unless Close-Idem is specified, repeated Close calls are undefined behavior.
//
// Unless a doc comment explicitly states otherwise, these labels describe the
// API contract only. They do not imply any specific implementation strategy.