wildcard import enum constants like the following in Rust is generally considered a very bad idea:
use SomeEnum::*This is because if you write a typo when matching this enum, Rust will not give any warning and silently create a new variable.
wildcard import enum constants like the following in Rust is generally considered a very bad idea:
use SomeEnum::*This is because if you write a typo when matching this enum, Rust will not give any warning and silently create a new variable.