From 031640c9a46a062213eedc095bf526e08449ce0a Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Sat, 4 Jun 2022 14:59:24 -0500 Subject: [PATCH] document RSX_CONTEXT --- packages/rsx_interpreter/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rsx_interpreter/src/lib.rs b/packages/rsx_interpreter/src/lib.rs index 79420cebb..2b829cc1f 100644 --- a/packages/rsx_interpreter/src/lib.rs +++ b/packages/rsx_interpreter/src/lib.rs @@ -16,7 +16,7 @@ pub mod error; mod interperter; lazy_static! { - /// This a a global store of the current + /// This a a global store of the current rsx text for each call to rsx // Global mutable data is genrally not great, but it allows users to not worry about passing down the text RsxContex every time they switch to hot reloading. pub static ref RSX_CONTEXT: RsxContext = RsxContext::new(RsxData::default()); }