Skip to content

Commit

Permalink
doc comment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedRoll committed Feb 6, 2023
1 parent 14f3c5c commit 6710376
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_render/src/render_resource/storage_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl<T: ShaderType + WriteInto> StorageBuffer<T> {
self.label.as_deref()
}

/// Adds more [`BufferUsages`] to the buffer.
/// Add more [`BufferUsages`] to the buffer.
///
/// This method only allows addition of flags to the default usage flags.
///
Expand Down Expand Up @@ -229,7 +229,7 @@ impl<T: ShaderType + WriteInto> DynamicStorageBuffer<T> {
self.label.as_deref()
}

/// Adds more [`BufferUsages`] to the buffer.
/// Add more [`BufferUsages`] to the buffer.
///
/// This method only allows addition of flags to the default usage flags.
///
Expand Down
4 changes: 2 additions & 2 deletions crates/bevy_render/src/render_resource/uniform_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl<T: ShaderType + WriteInto> UniformBuffer<T> {
self.label.as_deref()
}

/// Adds more [`BufferUsages`] to the buffer.
/// Add more [`BufferUsages`] to the buffer.
///
/// This method only allows addition of flags to the default usage flags.
///
Expand Down Expand Up @@ -223,7 +223,7 @@ impl<T: ShaderType + WriteInto> DynamicUniformBuffer<T> {
self.label.as_deref()
}

/// Adds more [`BufferUsages`] to the buffer.
/// Add more [`BufferUsages`] to the buffer.
///
/// This method only allows addition of flags to the default usage flags.
///
Expand Down

0 comments on commit 6710376

Please sign in to comment.