-
Notifications
You must be signed in to change notification settings - Fork 397
Open
Labels
A-BookC-CorrectionA typo, problem or factual issue in what we've writtenA typo, problem or factual issue in what we've writtenX-ControversialThere is active debate or serious implications around merging this PRThere is active debate or serious implications around merging this PR
Description
Describe the issue
Currently all examples on the website return ()
instead of AppExit
, which is a pattern we should probably discourage.
[https://bevy.org/learn/quick-start/getting-started/ecs/]
fn main() {
App::new().add_systems(Update, hello_world).run();
}
Proposed Solution
Change them to return AppExit
fn main() -> AppExit {
App::new().add_systems(Update, hello_world).run()
}
Metadata
Metadata
Assignees
Labels
A-BookC-CorrectionA typo, problem or factual issue in what we've writtenA typo, problem or factual issue in what we've writtenX-ControversialThere is active debate or serious implications around merging this PRThere is active debate or serious implications around merging this PR