From e0efe344020673bd29f4220e770bb54077ede9db Mon Sep 17 00:00:00 2001 From: Arnaud Golfouse <53786772+arnaudgolfouse@users.noreply.github.com> Date: Fri, 30 Jul 2021 04:57:27 +0200 Subject: [PATCH] Fix typo in error message (#1150) --- src/front/wgsl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/front/wgsl/mod.rs b/src/front/wgsl/mod.rs index b2de9644d3..7440e2ca25 100644 --- a/src/front/wgsl/mod.rs +++ b/src/front/wgsl/mod.rs @@ -163,7 +163,7 @@ impl<'a> Error<'a> { ExpectedToken::PrimaryExpression => "expression".to_string(), ExpectedToken::AttributeSeparator => "attribute separator (',') or an end of the attribute list (']]')".to_string(), ExpectedToken::FieldName => "field name or a closing curly bracket to signify the end of the struct".to_string(), - ExpectedToken::TypeAttribute => "type attribute ('access' or 'stride') or and of the attribute list (']]')".to_string(), + ExpectedToken::TypeAttribute => "type attribute ('access' or 'stride') or an end of the attribute list (']]')".to_string(), ExpectedToken::Statement => "statement".to_string(), ExpectedToken::SwitchItem => "switch item ('case' or 'default') or a closing curly bracket to signify the end of the switch statement ('}')".to_string(), ExpectedToken::WorkgroupSizeSeparator => "workgroup size separator (',') or a closing parenthesis".to_string(),