aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 28eecd8..0f69fd3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -33,7 +33,7 @@ impl Plugin for DitherPostProcessPlugin {
app.add_plugins((ExtractComponentPlugin::<DitherPostProcessSettings>::default(),));
- let Ok(render_app) = app.get_sub_app_mut(RenderApp) else {
+ let Some(render_app) = app.get_sub_app_mut(RenderApp) else {
return;
};
@@ -53,7 +53,7 @@ impl Plugin for DitherPostProcessPlugin {
}
fn finish(&self, app: &mut App) {
- let Ok(render_app) = app.get_sub_app_mut(RenderApp) else {
+ let Some(render_app) = app.get_sub_app_mut(RenderApp) else {
return;
};