From 000edc055243ad3a0f03cfc59b5dddfc22c6da5b Mon Sep 17 00:00:00 2001 From: ealmloff Date: Thu, 19 Oct 2023 13:01:38 -0500 Subject: [PATCH] document generational box --- packages/generational-box/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/generational-box/README.md b/packages/generational-box/README.md index 63c539e08..cbd4af5fb 100644 --- a/packages/generational-box/README.md +++ b/packages/generational-box/README.md @@ -31,4 +31,4 @@ let store = Store::default(); ## How it works -Internally \ No newline at end of file +Internally, `generational-box` creates an arena of generational RefCell's that are recyled when the owner is dropped. You can think of the cells as something like `&'static RefCell>` with some a generational check to make recyling a cell easier to debug. Then GenerationalBox's are `Copy` because the `&'static` pointer is `Copy`