From 848668b10a6a552d04376b8296d0ea5e96e16c93 Mon Sep 17 00:00:00 2001 From: spooky-th-ghost Date: Tue, 10 Dec 2024 16:37:56 -0500 Subject: [PATCH 1/2] fix doc links for PointerHits --- crates/bevy_picking/src/backend.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_picking/src/backend.rs b/crates/bevy_picking/src/backend.rs index 6ddb1a7ffe4ce..25e3b416e9307 100644 --- a/crates/bevy_picking/src/backend.rs +++ b/crates/bevy_picking/src/backend.rs @@ -52,9 +52,9 @@ pub mod prelude { /// Some backends may only support providing the topmost entity; this is a valid limitation. For /// example, a picking shader might only have data on the topmost rendered output from its buffer. /// -/// Note that systems reading these events in [`PreUpdate`](bevy_app) will not report ordering +/// Note that systems reading these events in [`PreUpdate`](`bevy_app::PreUpdate`) will not report ordering /// ambiguities with picking backends. Take care to ensure such systems are explicitly ordered -/// against [`PickSet::Backends`](crate), or better, avoid reading `PointerHits` in `PreUpdate`. +/// against [`PickSet::Backend`](`crate::PickSet::Backend`), or better, avoid reading `PointerHits` in `PreUpdate`. #[derive(Event, Debug, Clone, Reflect)] #[reflect(Debug)] pub struct PointerHits { From 2521978e295459b273509795716f841dfbe079c1 Mon Sep 17 00:00:00 2001 From: Alice Cecile Date: Tue, 10 Dec 2024 19:51:42 -0500 Subject: [PATCH 2/2] No backticks in the links --- crates/bevy_picking/src/backend.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_picking/src/backend.rs b/crates/bevy_picking/src/backend.rs index 25e3b416e9307..ff7baa9ce9e5b 100644 --- a/crates/bevy_picking/src/backend.rs +++ b/crates/bevy_picking/src/backend.rs @@ -52,9 +52,9 @@ pub mod prelude { /// Some backends may only support providing the topmost entity; this is a valid limitation. For /// example, a picking shader might only have data on the topmost rendered output from its buffer. /// -/// Note that systems reading these events in [`PreUpdate`](`bevy_app::PreUpdate`) will not report ordering +/// Note that systems reading these events in [`PreUpdate`](bevy_app::PreUpdate) will not report ordering /// ambiguities with picking backends. Take care to ensure such systems are explicitly ordered -/// against [`PickSet::Backend`](`crate::PickSet::Backend`), or better, avoid reading `PointerHits` in `PreUpdate`. +/// against [`PickSet::Backend`](crate::PickSet::Backend), or better, avoid reading `PointerHits` in `PreUpdate`. #[derive(Event, Debug, Clone, Reflect)] #[reflect(Debug)] pub struct PointerHits {