diff --git a/envconfig_derive/src/lib.rs b/envconfig_derive/src/lib.rs index 6321263..d4838b5 100644 --- a/envconfig_derive/src/lib.rs +++ b/envconfig_derive/src/lib.rs @@ -70,14 +70,14 @@ fn impl_envconfig_for_struct( let config = Self { #(#field_assigns_env,)* }; - Ok(config) + ::core::result::Result::Ok(config) } fn init_from_hashmap(hashmap: &::std::collections::HashMap) -> ::std::result::Result { let config = Self { #(#field_assigns_hashmap,)* }; - Ok(config) + ::core::result::Result::Ok(config) } #[deprecated(since="0.10.0", note="Please use `::init_from_env` instead")]