by hippiehippo · 12y ago · 0 comments
as box break continue crate else enum extern false fn for if impl in let loop match mod mut priv proc pub ref return self static struct super true trait type unsafe use whilefwiw, continue and return used to be cont and ret, match used to be alt, crate used to be not a keyword iirc.
It's historical. Rust's keywords used to be far more short on average - I think the rule was no more than 5 characters.
fun would have been better: - ML heritage for named functions (fn was anon) - muscle memory with the leading part of javascript function - the other abbreviations take the leading part of the word