fix typo in docstring (#5281)

This commit is contained in:
Peter Whidden authored and Connor Fitzgerald committed 2024-02-29 16:46:51 -05:00
1 parent 753c502548
commit 502b140bde
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -73,6 +73,8 @@ Bottom level categories:
### Documentation
- Fix link in `wgpu::Instance::create_surface` documentation. By @HexoKnight in [#5280](https://github.com/gfx-rs/wgpu/pull/5280).
- Fix typo in `wgpu::CommandEncoder::clear_buffer` documentation. By @PWhiddy in [#5281](https://github.com/gfx-rs/wgpu/pull/5281).
### Bug Fixes
+1 -1
View File
@@ -3425,7 +3425,7 @@ impl CommandEncoder {
/// # Panics
///
/// - Buffer does not have `COPY_DST` usage.
/// - Range it out of bounds
/// - Range is out of bounds
pub fn clear_buffer(
&mut self,
buffer: &Buffer,