From 234dea18c4a63d63d461f5695fb1a54b5bcb4e1a Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 6 Jul 2023 00:17:43 +0200 Subject: [PATCH] Fix link to GPUVertexBufferLayout Fixes #3342. --- CHANGELOG.md | 1 + wgpu/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92ee4dedd..247a7f41b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,7 @@ Bottom level categories: ### Documentation - Better documentation for draw, draw_indexed, set_viewport and set_scissor_rect. By @genusistimelord in [#3860](https://github.com/gfx-rs/wgpu/pull/3860) +- Fix link to `GPUVertexBufferLayout`. By @fornwall in [#3906](https://github.com/gfx-rs/wgpu/pull/3906) #### General diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 2ab86419a..78c71a77e 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -1351,7 +1351,7 @@ static_assertions::assert_impl_all!(RenderPassDescriptor: Send, Sync); /// For use in [`VertexState`]. /// /// Corresponds to [WebGPU `GPUVertexBufferLayout`]( -/// https://gpuweb.github.io/gpuweb/#dictdef-gpurenderpassdescriptor). +/// https://gpuweb.github.io/gpuweb/#dictdef-gpuvertexbufferlayout). #[derive(Clone, Debug, Hash, Eq, PartialEq)] pub struct VertexBufferLayout<'a> { /// The stride, in bytes, between elements of this buffer.