Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove conditional compilation from mascot constants
Using #[cfg(...)] is not ideal here because it harms compile-time checking. For example, in order to be sure there isn't a type error, one must separately compile with and without "clippy" when making changes to the crate. Rust supports `if` in constants since version 1.46.0.
- Loading branch information