From 6cfbc14a18b7c71bac0f6f8d35a943240e0f83a1 Mon Sep 17 00:00:00 2001 From: HexoKnight Date: Wed, 21 Feb 2024 17:00:47 +0000 Subject: [PATCH] fix doc link --- 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 c840befbda..bcfaceb493 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -1943,7 +1943,7 @@ impl Instance { /// Creates a new surface targeting a given window/canvas/surface/etc.. /// /// See [`SurfaceTarget`] for what targets are supported. - /// See [`Instance::create_surface`] for surface creation with unsafe target variants. + /// See [`Instance::create_surface_unsafe`] for surface creation with unsafe target variants. /// /// Most commonly used are window handles (or provider of windows handles) /// which can be passed directly as they're automatically converted to [`SurfaceTarget`].