David Sherret @dsherret.dev · Mar 27

I've come across so many bugs caused by using wildcard matches in Rust. Even though it can be verbose, I think it's better to avoid them in most cases so that adding a new enum variant causes compiler errors, forcing you to re-evaluate each match.

16 likes 1 replies

?

Replies

#1 text-overflow: ellipsis; hater · Mar 27

I think there's a clippy lint for this