Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added App::with_component_hooks #16977

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Update app.rs
Fixed CI failing because of unnecessary return type
  • Loading branch information
pin3-free authored Dec 26, 2024
commit 1afeaf3c126c5fa9687fdb42de7877b1ea9656d9
2 changes: 1 addition & 1 deletion crates/bevy_app/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ impl App {
/// ```
pub fn with_component_hooks<T>(
&mut self,
hooks: impl Fn(&mut ComponentHooks) -> (),
hooks: impl Fn(&mut ComponentHooks),
) -> &mut Self
where
T: Component,
Expand Down
Loading