Skip to content

Commit 12a2661

Browse files
committed
clippy
1 parent 13e8224 commit 12a2661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/game_of_life.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ pub fn register_script_functions(app: &mut App) -> &mut App {
175175
.register("info", |s: String| {
176176
bevy::log::info!(s);
177177
})
178-
.register("rand", || rand::random::<f32>());
178+
.register("rand", rand::random::<f32>);
179179
app
180180
}
181181

0 commit comments

Comments
 (0)