Fix Events example link (#5126)

The `crate` intermediate directory is missing from the path, which currently leads to 404.
This commit is contained in:
Saverio Miroddi 2022-06-28 16:37:36 +00:00
parent e60f614a86
commit e28b88b378

View file

@ -126,7 +126,7 @@ struct EventInstance<E: Event> {
/// [`add_event`](https://docs.rs/bevy/*/bevy/app/struct.App.html#method.add_event).
///
/// [Example usage.](https://github.com/bevyengine/bevy/blob/latest/examples/ecs/event.rs)
/// [Example usage standalone.](https://github.com/bevyengine/bevy/blob/latest/bevy_ecs/examples/events.rs)
/// [Example usage standalone.](https://github.com/bevyengine/bevy/blob/latest/crates/bevy_ecs/examples/events.rs)
///
#[derive(Debug)]
pub struct Events<E: Event> {