From 8b6c09722e310fa646e3bd1d3deb8e4f48214f3d Mon Sep 17 00:00:00 2001 From: Jay Oster Date: Wed, 2 Oct 2019 21:15:10 -0700 Subject: [PATCH] [rs] Fix docs describing how to create a surface --- wgpu/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index d9a67be050..6e731f7557 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -131,7 +131,7 @@ pub struct Sampler { /// A handle to a presentable surface. /// /// A `Surface` represents a platform-specific surface (e.g. a window) to which rendered images may -/// be presented. A `Surface` may be created with [`Instance::create_surface`]. +/// be presented. A `Surface` may be created with [`Surface::create`]. #[derive(Debug)] pub struct Surface { id: wgn::SurfaceId,