diff --git a/CHANGELOG.md b/CHANGELOG.md index 383fa8039..afaff5bb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 981ee96d7..11eceb5f9 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -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,