From aa98c69cdd1d5e1fd1f83b0f5f6e468f2cf44138 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 2 Apr 2026 09:06:11 +0000 Subject: furgit: I forgot to add lifetime labels --- doc.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc.go') diff --git a/doc.go b/doc.go index 12032483..2f52b056 100644 --- a/doc.go +++ b/doc.go @@ -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. -- cgit v1.3.1-10-gc9f91