Skip to content

Commit 64fd117

Browse files
zhaopjakobhellermann
authored andcommitted
Match app.get_sub_app as Option instead of Result
Addresses Bevy[9202](bevyengine/bevy#9202)
1 parent 3fdb1c6 commit 64fd117

File tree

1 file changed

+2
-2
lines changed
  • crates/bevy_editor_pls_default_windows/src/debug_settings

1 file changed

+2
-2
lines changed

crates/bevy_editor_pls_default_windows/src/debug_settings/debugdump.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pub struct DotGraphs {
1919

2020
pub fn setup(app: &mut App) {
2121
let render_app = match app.get_sub_app(RenderApp) {
22-
Ok(render_app) => render_app,
23-
Err(_label) => {
22+
Some(render_app) => render_app,
23+
None => {
2424
return;
2525
}
2626
};

0 commit comments

Comments
 (0)