diff --git a/crates/bevy_render/src/render_resource/uniform_vec.rs b/crates/bevy_render/src/render_resource/uniform_vec.rs index 6dfb1f95726aa..1a86afc03f143 100644 --- a/crates/bevy_render/src/render_resource/uniform_vec.rs +++ b/crates/bevy_render/src/render_resource/uniform_vec.rs @@ -11,9 +11,11 @@ use wgpu::{BindingResource, BufferBinding, BufferDescriptor, BufferUsages}; /// A user-friendly wrapper around a [`Buffer`] that provides a `Vec`-like /// interface for constructing the buffer. -/// -/// Intended strictly for use with uniform buffers. For other use cases, -/// see [`BufferVec`] instead. +/// +/// Intended strictly for use with uniform buffers. For other use cases, +/// see [`BufferVec`][buffervec] instead. +/// +/// [buffervec]: crate::render_resource::BufferVec pub struct UniformVec { values: Vec, scratch: Vec,