We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cd98eb commit 700ef36Copy full SHA for 700ef36
crates/bevy_entropy/src/plugin.rs
@@ -13,7 +13,7 @@ use crate::component::EntropyComponent;
13
///
14
/// ```
15
/// use bevy_ecs::prelude::ResMut;
16
-/// use bevy_app::App;
+/// use bevy_app::{App, Update};
17
/// use bevy_entropy::prelude::*;
18
/// use rand_core::RngCore;
19
/// use rand_chacha::{ChaCha8Rng, ChaCha12Rng};
@@ -22,7 +22,7 @@ use crate::component::EntropyComponent;
22
/// App::new()
23
/// .add_plugin(EntropyPlugin::<ChaCha8Rng>::default())
24
/// .add_plugin(EntropyPlugin::<ChaCha12Rng>::default())
25
-/// .add_system(print_random_value)
+/// .add_systems(Update, print_random_value)
26
/// .run();
27
/// }
28
0 commit comments