diff --git a/commons/zenoh-config/src/lib.rs b/commons/zenoh-config/src/lib.rs index 3f4dffc850..ac6f59af89 100644 --- a/commons/zenoh-config/src/lib.rs +++ b/commons/zenoh-config/src/lib.rs @@ -242,6 +242,7 @@ fn config_keys() { /// are currently supported, please use the proper extension for your format as the deserializer /// will be picked according to it). #[derive(Default)] +#[cfg_attr(feature = "internal", allow(dead_code))] pub struct Config(InternalConfig); impl Config { @@ -255,7 +256,7 @@ impl Config { } #[zenoh_macros::internal] -impl Deref for Config { +impl std::ops::Deref for Config { type Target = InternalConfig; fn deref(&self) -> &Self::Target {