Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CatThingy committed Jan 9, 2023
1 parent adc3671 commit e84ec4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extern crate proc_macro;

mod event;
mod component;
mod event;
mod fetch;

use crate::fetch::derive_world_query_impl;
Expand Down
4 changes: 3 additions & 1 deletion crates/bevy_ecs/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,11 @@ struct EventInstance<E: Event> {
///
/// # Missed events
///
/// Obscure bugs may arise if an [`EventReader`] does not read all events before they are cleared.
/// Obscure bugs may arise if an [`EventReader`] does not read all events before they are cleared.
/// To emit a warning when this happens, annotate the event with `#[event(warn_missed)]`.
/// ```
/// # use bevy_ecs::event::{Event, Events};
/// #
/// #[derive(Event)]
/// #[event(warn_missed)]
/// struct MyEvent;
Expand Down

0 comments on commit e84ec4b

Please sign in to comment.