diff --git a/micronfig_macros/src/lib.rs b/micronfig_macros/src/lib.rs index ecd0c64..c7902bd 100644 --- a/micronfig_macros/src/lib.rs +++ b/micronfig_macros/src/lib.rs @@ -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)); }, };