Explorar o código

Place private constructor module behind serde feature gate, as it is only used within the serde module.

mitchmindtree %!s(int64=8) %!d(string=hai) anos
pai
achega
0c9077fa14
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/sampler.rs

+ 1 - 0
src/sampler.rs

@@ -251,6 +251,7 @@ impl<M, NFG, A> Sampler<M, NFG, A>
 }
 
 
+#[cfg(feature="serde_serialization")]
 pub mod private {
     use instrument::{self, Instrument};
     use map::{self, Map};