aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index dd0b9ef..3040bff 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -34,7 +34,7 @@ impl Plugin for OutlinePostProcessPlugin {
ExtractComponentPlugin::<components::OutlinePostProcessSettings>::default(),
));
- let Ok(render_app) = app.get_sub_app_mut(RenderApp) else {
+ let Some(render_app) = app.get_sub_app_mut(RenderApp) else {
return;
};
@@ -54,7 +54,7 @@ impl Plugin for OutlinePostProcessPlugin {
}
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;
};