document RSX_CONTEXT

This commit is contained in:
Evan Almloff 2022-06-04 14:59:24 -05:00
parent 8c6fceb0c7
commit 031640c9a4

View file

@ -16,7 +16,7 @@ pub mod error;
mod interperter; mod interperter;
lazy_static! { 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. // 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()); pub static ref RSX_CONTEXT: RsxContext = RsxContext::new(RsxData::default());
} }