restore a few unneeded breaking changes

This commit is contained in:
Evan Almloff committed 2023-08-08 13:37:29 -07:00
1 parent 14c852010b
commit 4ee4cf23d3
6 files changed
+219 -6

No files matched your search

+3 -3
View File
@@ -41,7 +41,7 @@ where
.flatten()
}
pub struct Runtime {
pub(crate) struct Runtime {
pub(crate) scope_contexts: RefCell<Vec<Option<ScopeContext>>>,
pub(crate) scheduler: Rc<Scheduler>,
@@ -93,10 +93,10 @@ impl Runtime {
}
}
pub struct RuntimeGuard(Rc<Runtime>);
pub(crate) struct RuntimeGuard(Rc<Runtime>);
impl RuntimeGuard {
pub fn new(runtime: Rc<Runtime>) -> Self {
pub(crate) fn new(runtime: Rc<Runtime>) -> Self {
push_runtime(runtime.clone());
Self(runtime)
}