소스 검색

document RSX_CONTEXT

Evan Almloff 3 년 전
부모
커밋
031640c9a4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/rsx_interpreter/src/lib.rs

+ 1 - 1
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());
 }