diff --git a/crates/bevy_render/src/world_sync.rs b/crates/bevy_render/src/world_sync.rs index d1dc834a721ee..0eb4f3723a01e 100644 --- a/crates/bevy_render/src/world_sync.rs +++ b/crates/bevy_render/src/world_sync.rs @@ -21,7 +21,7 @@ use bevy_reflect::Reflect; /// between the main world and the render world. /// It does so by spawning and despawning entities in the render world, to match spawned and despawned entities in the main world. /// The link between synced entities is maintained by the [`RenderEntity`] and [`MainEntity`] components. -/// The [`RenderEntity`] contains the corresponding render world entity of a main world entity, while [`MainWorld`] contains +/// The [`RenderEntity`] contains the corresponding render world entity of a main world entity, while [`MainWorld`](crate::MainWorld) contains /// the corresponding main world entity of a render world entity. /// The entities can be accessed by calling `.id()` on either component. /// diff --git a/examples/3d/fog_volumes.rs b/examples/3d/fog_volumes.rs index 9417635be90b7..8ebc9233322dd 100644 --- a/examples/3d/fog_volumes.rs +++ b/examples/3d/fog_volumes.rs @@ -9,8 +9,8 @@ use bevy::{ math::vec3, pbr::{FogVolume, VolumetricFog, VolumetricLight}, prelude::*, + render::world_sync::SyncToRenderWorld, }; -use bevy_render::world_sync::SyncToRenderWorld; /// Entry point. fn main() {