Skip to content

Commit 0b3aa39

Browse files
committed
changes
1 parent 38f270c commit 0b3aa39

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

crates/bevy_mod_scripting_core/src/handler.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ macro_rules! push_err_and_continue {
106106
/// Passes events with the specified label to the script callback with the same name and runs the callback.
107107
///
108108
/// If any of the resources required for the handler are missing, the system will log this issue and do nothing.
109-
#[allow(
110-
private_interfaces,
111-
reason = "people should not need to use this as a function, they only need the type signature"
112-
)]
113109
pub fn event_handler<L: IntoCallbackLabel, P: IntoScriptPluginParams>(
114110
world: &mut World,
115111
state: &mut SystemState<(

examples/game_of_life.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub enum GameOfLifeCommand {
111111
/// Stop the game of life by dropping a handle to the game_of_life script
112112
Stop,
113113
}
114-
use bevy_mod_scripting_core::ConfigureScriptPlugin;
114+
115115
// ------------- GAME OF LIFE
116116
fn game_of_life_app(app: &mut App) -> &mut App {
117117
app.insert_resource(Time::<Fixed>::from_seconds(UPDATE_FREQUENCY.into()))

0 commit comments

Comments
 (0)