Fix typos “a”→“an”

This commit is contained in:
Frank Steffahn 2021-08-22 14:31:37 +02:00
parent e535791756
commit 3a5a93595f
4 changed files with 5 additions and 5 deletions

View file

@ -280,7 +280,7 @@ impl ExprValidator {
for arm in arms {
if let Some(pat_ty) = infer.type_of_pat.get(arm.pat) {
// We only include patterns whose type matches the type
// of the match expression. If we had a InvalidMatchArmPattern
// of the match expression. If we had an InvalidMatchArmPattern
// diagnostic or similar we could raise that in an else
// block here.
//