mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
fix-fmt
This commit is contained in:
committed by
Jim Blandy
parent
300ffcafbf
commit
9a00937b50
@@ -279,8 +279,7 @@ impl<'a> Error<'a> {
|
||||
Error::UnknownScalarType(ref bad_span) => ParseError {
|
||||
message: format!("unknown scalar type: '{}'", &source[bad_span.clone()]),
|
||||
labels: vec![(bad_span.clone(), "unknown scalar type".into())],
|
||||
notes: vec!["Valid scalar types are f32, f64, i32, u32, bool"
|
||||
.into()],
|
||||
notes: vec!["Valid scalar types are f32, f64, i32, u32, bool".into()],
|
||||
},
|
||||
Error::BadTextureSampleType {
|
||||
ref span,
|
||||
|
||||
Reference in New Issue
Block a user