Skip to content

Commit

Permalink
Make ShaderSource #[non_exhaustive]
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia authored and kvark committed Dec 22, 2021
1 parent 54f20be commit a3b9fc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wgpu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ impl Drop for ShaderModule {
}

/// Source of a shader module.
#[non_exhaustive]
pub enum ShaderSource<'a> {
/// SPIR-V module represented as a slice of words.
///
Expand Down

0 comments on commit a3b9fc3

Please sign in to comment.