From 1b598fb4455f3b47e1aa5bdba1e6471801043d51 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Fri, 11 Jul 2025 09:27:08 -0500 Subject: [PATCH] README typo/correction. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 79484b4..6faefa8 100644 --- a/README.md +++ b/README.md @@ -301,7 +301,7 @@ for the custom functionality. *TODO: rethink this. I chose this to avoid GC-safety issues copying closures across threads, but maybe I don't need this separate, explicit state field.* -> [!WARNING] The `state` data type must support copy semantics on assignment. +> [!CAUTION] The `state` data type must support copy semantics on assignment. > It is possible to pass a `ref` to `state` and/or data structures that include > `ref`s, but **you must guarantee they remain valid**, either by allocating > shared memeory, or (preferably) keeping alive a reference to them that the GC