diff --git a/src/protocol/parser/pass_definitions.rs b/src/protocol/parser/pass_definitions.rs index c35967df9b31f6f355d7c5793502e07fac428c8d..5955dfdff242e285bdfef5ac867b75c9b5fcab40 100644 --- a/src/protocol/parser/pass_definitions.rs +++ b/src/protocol/parser/pass_definitions.rs @@ -460,8 +460,8 @@ impl PassDefinitions { self.consume_labeled_statement(module, iter, ctx, section)?; } else { // Two fallback possibilities: the first one is a memory - // declaration, the other one is to parse it as a regular - // expression. This is a bit ugly + // declaration, the other one is to parse it as a normal + // expression. This is a bit ugly. if let Some((memory_stmt_id, assignment_stmt_id)) = self.maybe_consume_memory_statement(module, iter, ctx)? { section.push(memory_stmt_id.upcast().upcast()); section.push(assignment_stmt_id.upcast()); @@ -1709,7 +1709,7 @@ fn consume_parser_type( depth: i32, } - // After parsing the array modified "[]", we need to insert an array type + // After parsing the array modifier "[]", we need to insert an array type // before the most recently parsed type. fn insert_array_before(elements: &mut Vec, depth: i32, span: InputSpan) { let index = elements.iter().rposition(|e| e.depth == depth).unwrap();