1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-11-22 16:14:19 +00:00
micronfig/micronfig_macros/tests/sources/parse_single_u64_optional.rs
2024-01-04 17:00:49 +01:00

8 lines
134 B
Rust

micronfig::config! {
GARASAUTO?: String > u64,
}
fn main() {
std::env::remove_var("GARASAUTO");
assert_eq!(GARASAUTO(), &None);
}