فهرست منبع

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

mitchmindtree 10 سال پیش
والد
کامیت
0c9077fa14
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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};