diff --git a/examples/compute/shader.wgsl b/examples/compute/shader.wgsl index 9a14f906..df541aff 100644 --- a/examples/compute/shader.wgsl +++ b/examples/compute/shader.wgsl @@ -1,4 +1,3 @@ -[[block]] struct PrimeIndices { data: [[stride(4)]] array; }; // this is used as both input and output for convenience diff --git a/src/lib.rs b/src/lib.rs index b4a8ca5d..9e082ddc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,9 +48,9 @@ impl OwnedLabel { } #[track_caller] -pub fn check_error(input: (I, Option)) -> I { +pub fn check_error(input: (I, Option)) -> I { if let Some(error) = input.1 { - panic!("{:?}", error); + panic!("{}", error); } input.0