diff options
| author | 2026-04-02 09:06:11 +0000 | |
|---|---|---|
| committer | 2026-04-02 09:06:58 +0000 | |
| commit | aa98c69cdd1d5e1fd1f83b0f5f6e468f2cf44138 (patch) | |
| tree | 65f1077e8c4a99b1a9da4a5798a38eff76951390 /doc.go | |
| parent | object/signature: Add (diff) | |
| signature | No signature | |
furgit: I forgot to add lifetime labels
Diffstat (limited to 'doc.go')
| -rw-r--r-- | doc.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -40,6 +40,15 @@ // - Deps-Mixed: some are mixed while others are borrowed. // The documentation should specify further. // +// Lifetime labels: +// +// - Life-Independent: returned values remain valid +// independently of the parent or provider. +// - Life-Parent: returned values are only valid +// while the parent or provider remains valid. +// - Life-Call: returned values are only valid +// for the duration of the current call, callback, or hook invocation. +// // Close labels: // // - Close-Caller: the caller must close the returned value. |
