Merge MutableAppContext into AppContext
There may have been a good reason for the difference at some point, or I was still learning Rust. But now it's just &mut AppContext vs &AppContext.
This commit is contained in:
parent
dd00966cc6
commit
de9bf6dfbd
112 changed files with 882 additions and 1041 deletions
|
@ -18,7 +18,7 @@ use crate::{
|
|||
executor::{self, ExecutorEvent},
|
||||
platform,
|
||||
util::CwdBacktrace,
|
||||
Element, ElementBox, Entity, FontCache, Handle, MutableAppContext, Platform, RenderContext,
|
||||
AppContext, Element, ElementBox, Entity, FontCache, Handle, Platform, RenderContext,
|
||||
Subscription, TestAppContext, View,
|
||||
};
|
||||
|
||||
|
@ -40,7 +40,7 @@ pub fn run_test(
|
|||
detect_nondeterminism: bool,
|
||||
test_fn: &mut (dyn RefUnwindSafe
|
||||
+ Fn(
|
||||
&mut MutableAppContext,
|
||||
&mut AppContext,
|
||||
Rc<platform::test::ForegroundPlatform>,
|
||||
Arc<executor::Deterministic>,
|
||||
u64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue