From 2847a8bd39aa36dee686d89e1ca55fd2bf258aac Mon Sep 17 00:00:00 2001 From: Jay Oster Date: Fri, 4 Oct 2019 22:48:29 -0700 Subject: [PATCH] Update docs --- src/render_pass.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/render_pass.rs b/src/render_pass.rs index 5b665e3..b4568d6 100644 --- a/src/render_pass.rs +++ b/src/render_pass.rs @@ -31,10 +31,10 @@ pub type BoxedRenderPass = Box; pub trait RenderPass { /// This method will be called when the input [`wgpu::TextureView`] needs to be rebinded. /// - /// A [`wgpu::TextureView`] is provided to the `RenderPass` constructor as an input texture - /// with the original [`SurfaceTexture`] size. This method is called in response to resizing - /// the [`SurfaceTexture`], where your `RenderPass` impl can update its input texture for the - /// new size. + /// A [`wgpu::TextureView`] is provided to the `RenderPass` factory as an input texture with + /// the original [`SurfaceTexture`] size. This method is called in response to resizing the + /// [`SurfaceTexture`], where your `RenderPass` impl can update its input texture for the new + /// size. /// /// [`Pixels`]: ./struct.Pixels.html /// [`SurfaceTexture`]: ./struct.SurfaceTexture.html