Skip to content

Commit 9ddd64d

Browse files
committed
Fixup docs
1 parent 4b92626 commit 9ddd64d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/bevy_render/src/extract_param.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ impl<P: SystemParam> FromWorld for MainWorldState<P> {
3636
/// ## Examples
3737
///
3838
/// ```rust
39+
/// use bevy_ecs::prelude::*;
40+
/// use bevy_render::Extract;
41+
/// # #[derive(Component)]
42+
/// # struct Cloud;
3943
/// fn extract_clouds(mut commands: Commands, mut clouds: Extract<Query<Entity, With<Cloud>>>) {
4044
/// for cloud in clouds.value().iter() {
4145
/// commands.get_or_spawn(cloud).insert(Cloud);

0 commit comments

Comments
 (0)