Skip to content

Commit

Permalink
Update wgpu-types/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Fitzgerald <[email protected]>
  • Loading branch information
jinleili and cwfitzgerald authored Jan 13, 2023
1 parent 1d174eb commit 9550278
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wgpu-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4396,7 +4396,8 @@ impl<L, V: Clone> TextureDescriptor<L, V> {
///
/// ```rust
/// # use wgpu_types as wgpu;
/// let desc: wgpu::TextureDescriptor<(), Vec<wgpu::TextureFormat>> = wgpu::TextureDescriptor {
/// # type TextureDescriptor = wgpu::TextureDescriptor<(), &[wgpu::TextureFormat]>
/// let desc = TextureDescriptor {
/// label: (),
/// size: wgpu::Extent3d { width: 100, height: 60, depth_or_array_layers: 1 },
/// mip_level_count: 7,
Expand Down

0 comments on commit 9550278

Please sign in to comment.