From 502b140bdee273be352abf6f50cf8d70e7b30d27 Mon Sep 17 00:00:00 2001 From: Peter Whidden Date: Wed, 21 Feb 2024 16:31:35 -0500 Subject: [PATCH] fix typo in docstring (#5281) --- CHANGELOG.md | 2 ++ wgpu/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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,