From 89393cf783b5f9522b8180218e14c70e5bbab6d5 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 92ee4deddc..247a7f41be 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 2ab86419a1..78c71a77ee 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.