Function rustc_errors::a_or_an
source · pub fn a_or_an(s: &str) -> &'static str
Expand description
Grammatical tool for displaying messages to end users in a nice form.
Returns “an” if the given string starts with a vowel, and “a” otherwise.