From 308e72b5219e1e7a46f4f5953235b7dbd7ae5073 Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Wed, 22 Jul 2020 20:55:08 -0400 Subject: [PATCH] Fix typo in BufferUsage docs --- wgpu-types/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index ea5824dce9..899c3a63d1 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -1018,7 +1018,7 @@ bitflags::bitflags! { /// Allow a buffer to be the source buffer for a [`CommandEncoder::copy_buffer_to_buffer`] or [`CommandEncoder::copy_buffer_to_texture`] /// operation. const COPY_SRC = 4; - /// Allow a buffer to be the source buffer for a [`CommandEncoder::copy_buffer_to_buffer`], [`CommandEncoder::copy_buffer_to_texture`], + /// Allow a buffer to be the destination buffer for a [`CommandEncoder::copy_buffer_to_buffer`], [`CommandEncoder::copy_texture_to_buffer`], /// or [`Queue::write_buffer`] operation. const COPY_DST = 8; /// Allow a buffer to be the index buffer in a draw operation.