From e6793edb3e5088fd26bd898c2fc0d4371d6731f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20L=C3=B6bel?= Date: Fri, 24 Jul 2020 02:07:43 +0200 Subject: [PATCH] [rs] Fix two missed renames in docs --- wgpu/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index f83ad6b8eb..ceb96e5a2e 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -963,7 +963,7 @@ pub struct SwapChainTexture { detail: ::SwapChainOutputDetail, } -/// Result of a successful call to [`SwapChain::get_next_frame`]. +/// Result of a successful call to [`SwapChain::get_current_frame`]. #[derive(Debug)] pub struct SwapChainFrame { /// The texture into which the next frame should be rendered. @@ -973,7 +973,7 @@ pub struct SwapChainFrame { pub suboptimal: bool, } -/// Result of an unsuccessful call to [`SwapChain::get_next_frame`]. +/// Result of an unsuccessful call to [`SwapChain::get_current_frame`]. #[derive(Clone, PartialEq, Eq, Debug)] pub enum SwapChainError { /// A timeout was encountered while trying to acquire the next frame.