Skip to content

Commit 3715cb1

Browse files
authored
fix doc link (#5280)
1 parent 66c7e98 commit 3715cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wgpu/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,7 @@ impl Instance {
19431943
/// Creates a new surface targeting a given window/canvas/surface/etc..
19441944
///
19451945
/// See [`SurfaceTarget`] for what targets are supported.
1946-
/// See [`Instance::create_surface`] for surface creation with unsafe target variants.
1946+
/// See [`Instance::create_surface_unsafe`] for surface creation with unsafe target variants.
19471947
///
19481948
/// Most commonly used are window handles (or provider of windows handles)
19491949
/// which can be passed directly as they're automatically converted to [`SurfaceTarget`].

0 commit comments

Comments
 (0)