fix(cosmic-config-derive): allow use with reexported cosmic-config

This commit is contained in:
Ashley Wulber 2023-05-25 16:22:32 -04:00
parent daa4f1ea04
commit 2fafeca71f
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -66,7 +66,7 @@ fn impl_cosmic_config_entry_macro(ast: &syn::DeriveInput) -> TokenStream {
tx.commit() tx.commit()
} }
fn get_entry(config: &Config) -> Result<Self, (Vec<::cosmic_config::Error>, Self)> { fn get_entry(config: &Config) -> Result<Self, (Vec<cosmic_config::Error>, Self)> {
let mut default = Self::default(); let mut default = Self::default();
let mut errors = Vec::new(); let mut errors = Vec::new();