Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: sagudev <[email protected]>
  • Loading branch information
sagudev committed Dec 19, 2024
1 parent fa4a5ed commit 25d371d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4896,7 +4896,7 @@ pub enum LoadOp<V> {
}

impl<V> LoadOp<V> {
/// Returns discriminant of LoadOp (useful for operation only comparation)
/// Returns discriminant of LoadOp (useful for operation only comparison)
pub fn discriminant(&self) -> u8 {
// SAFETY: Because `Self` is marked `repr(u8)`, its layout is a `repr(C)` `union`
// between `repr(C)` structs, each of which has the `u8` discriminant as its first
Expand Down

0 comments on commit 25d371d

Please sign in to comment.