From e96b21a24a7fe17a64e52b7bba81e00145ea1756 Mon Sep 17 00:00:00 2001 From: SpecificProtagonist Date: Sat, 17 Sep 2022 12:49:00 +0000 Subject: [PATCH] Fix DrawFunctionId typo (#5996) Fix extra slashes visible in documentation of `DrawFunctionId`. Also point to where the type is used. --- crates/bevy_render/src/render_phase/draw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_render/src/render_phase/draw.rs b/crates/bevy_render/src/render_phase/draw.rs index 76725aec81..059764b29c 100644 --- a/crates/bevy_render/src/render_phase/draw.rs +++ b/crates/bevy_render/src/render_phase/draw.rs @@ -63,7 +63,7 @@ pub trait PhaseItem: Sized + Send + Sync + 'static { } // TODO: make this generic? -/// /// A [`Draw`] function identifier. +/// An identifier for a [`Draw`] function stored in [`DrawFunctions`]. #[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)] pub struct DrawFunctionId(usize);