Skip to content

Commit b142ed2

Browse files
committed
Add a comment.
1 parent 6ba4c2f commit b142ed2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_hir/src/def.rs

+2
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,8 @@ impl NonMacroAttrKind {
591591
}
592592
}
593593

594+
// Currently trivial, but exists in case a new kind is added in the future whose name starts
595+
// with a vowel.
594596
pub fn article(self) -> &'static str {
595597
"a"
596598
}

0 commit comments

Comments
 (0)