Skip to content

Commit e84ec4b

Browse files
committed
Fix CI
1 parent adc3671 commit e84ec4b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

crates/bevy_ecs/macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extern crate proc_macro;
22

3-
mod event;
43
mod component;
4+
mod event;
55
mod fetch;
66

77
use crate::fetch::derive_world_query_impl;

crates/bevy_ecs/src/event.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,11 @@ struct EventInstance<E: Event> {
129129
///
130130
/// # Missed events
131131
///
132-
/// Obscure bugs may arise if an [`EventReader`] does not read all events before they are cleared.
132+
/// Obscure bugs may arise if an [`EventReader`] does not read all events before they are cleared.
133133
/// To emit a warning when this happens, annotate the event with `#[event(warn_missed)]`.
134134
/// ```
135+
/// # use bevy_ecs::event::{Event, Events};
136+
/// #
135137
/// #[derive(Event)]
136138
/// #[event(warn_missed)]
137139
/// struct MyEvent;

0 commit comments

Comments
 (0)