1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-12-22 20:14:18 +00:00

Fix bug I've just created

This commit is contained in:
Steffo 2024-12-19 09:29:08 +01:00
parent 24069da00f
commit b4d878c521
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -169,7 +169,7 @@ pub fn config(input: TokenStream) -> TokenStream {
true => quote! {}, true => quote! {},
false => quote! { false => quote! {
let value: String = value let value: String = value
.unwrap_or_else(|_| panic!("Unset configuration variable: {}", #identifier_string)); .unwrap_or_else(|| panic!("Unset configuration variable: {}", #identifier_string));
}, },
}; };