mirror of
https://github.com/Steffo99/micronfig.git
synced 2024-12-22 12:04:18 +00:00
Fix bug I've just created
This commit is contained in:
parent
24069da00f
commit
b4d878c521
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ pub fn config(input: TokenStream) -> TokenStream {
|
|||
true => quote! {},
|
||||
false => quote! {
|
||||
let value: String = value
|
||||
.unwrap_or_else(|_| panic!("Unset configuration variable: {}", #identifier_string));
|
||||
.unwrap_or_else(|| panic!("Unset configuration variable: {}", #identifier_string));
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue