Skip to content

Commit

Permalink
Fix docs and CI checks
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 committed Jan 5, 2022
1 parent 36acbba commit 8f9951e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions crates/bevy_render/src/render_resource/uniform_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T: AsStd140> {
values: Vec<T>,
scratch: Vec<u8>,
Expand Down

0 comments on commit 8f9951e

Please sign in to comment.