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:
@@ -89,6 +89,6 @@ fn main() {
|
||||
});
|
||||
}
|
||||
|
||||
fn quit(_: &Quit, cx: &mut gpui::MutableAppContext) {
|
||||
fn quit(_: &Quit, cx: &mut gpui::AppContext) {
|
||||
cx.platform().quit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user