From c01e2d10ced0ac0d337a59ff1a6ca679b54875ea Mon Sep 17 00:00:00 2001 From: dasetwas Date: Wed, 13 Jan 2021 23:28:44 +0100 Subject: [PATCH] Remove comment introduced in https://github.com/gfx-rs/wgpu/pull/1144 --- wgpu-core/src/command/render.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/wgpu-core/src/command/render.rs b/wgpu-core/src/command/render.rs index 30fc7e9622..88f55599d4 100644 --- a/wgpu-core/src/command/render.rs +++ b/wgpu-core/src/command/render.rs @@ -726,8 +726,6 @@ impl<'a, B: GfxBackend> RenderPassInfo<'a, B> { )) = mismatching_dimensions { return Err(RenderPassErrorInner::AttachmentsDimensionMismatch { - // okay to unwrap: for `mismatching_dimensions` to be set, `attachment_{width/height}` must have been - // set, which includes `attachment_type_name` being set in a later `else` block previous_attachment_type_name: attachment_type_name, mismatching_attachment_type_name, previous_dimensions,