Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
  • Loading branch information
josh11b and zygoloid authored Sep 9, 2024
1 parent f803a1b commit ab227df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion toolchain/parse/handle_requirement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ auto HandleRequirementOperator(Context& context) -> void {
if (!state.has_error) {
CARBON_DIAGNOSTIC(
ExpectedRequirementOperator, Error,
"requirement should use `impls`, `=`, or `==` operator.");
"Requirement should use `impls`, `=`, or `==` operator.");
context.emitter().Emit(*context.position(),
ExpectedRequirementOperator);
}
Expand Down
2 changes: 1 addition & 1 deletion toolchain/parse/precedence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum PrecedenceLevel : int8_t {
// Type formation.
TypePrefix,
TypePostfix,
// `where` keyword
// `where` keyword.
Where,
// Casts.
As,
Expand Down

0 comments on commit ab227df

Please sign in to comment.