1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-11-25 17:44:18 +00:00

Test what happens when mixing implicit and explicit types

This commit is contained in:
Steffo 2024-01-03 02:56:28 +01:00
parent 5371080327
commit ee70746f8c
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,9 @@
micronfig::config! {
GARAS,
AUTO: String,
BUS,
}
fn main() {
println!("{:?} {:?} {:?}", GARAS(), AUTO(), BUS())
}

View file

@ -21,3 +21,4 @@ pass!(string_single_explicit);
pass!(string_single_implicit);
pass!(string_multi_explicit);
pass!(string_multi_implicit);
pass!(string_multi_mixed);