diff --git a/src/lib.rs b/src/lib.rs index 7134e86..9ccdeb0 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -284,6 +284,7 @@ enum ParamInner<'a> { /// The lifetime of this may be shorter than that of [`Param<'a>`]. #[cfg(feature = "non-compliant-bytes")] #[cfg_attr(docsrs, doc(cfg(feature = "non-compliant-bytes")))] +#[cfg_attr(feature = "non-compliant-bytes", allow(dead_code))] pub struct ParamBytes<'a>(ParamIterInner<'a, core::iter::Cloned>>); /// Iterator over decoded bytes inside paramter. @@ -291,6 +292,7 @@ pub struct ParamBytes<'a>(ParamIterInner<'a, core::iter::Cloned`]. #[cfg(feature = "non-compliant-bytes")] #[cfg_attr(docsrs, doc(cfg(feature = "non-compliant-bytes")))] +#[cfg_attr(feature = "non-compliant-bytes", allow(dead_code))] pub struct ParamBytesOwned<'a>(ParamIterInner<'a, Either>, alloc::vec::IntoIter>>); #[cfg(feature = "non-compliant-bytes")]