Skip to content

Commit 9550278

Browse files
Update wgpu-types/src/lib.rs
Co-authored-by: Connor Fitzgerald <[email protected]>
1 parent 1d174eb commit 9550278

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wgpu-types/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4396,7 +4396,8 @@ impl<L, V: Clone> TextureDescriptor<L, V> {
43964396
///
43974397
/// ```rust
43984398
/// # use wgpu_types as wgpu;
4399-
/// let desc: wgpu::TextureDescriptor<(), Vec<wgpu::TextureFormat>> = wgpu::TextureDescriptor {
4399+
/// # type TextureDescriptor = wgpu::TextureDescriptor<(), &[wgpu::TextureFormat]>
4400+
/// let desc = TextureDescriptor {
44004401
/// label: (),
44014402
/// size: wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 },
44024403
/// mip_level_count: 7,

0 commit comments

Comments
 (0)