diff --git a/src/number.rs b/src/number.rs index 6b3003f42..9e319e8f5 100644 --- a/src/number.rs +++ b/src/number.rs @@ -296,6 +296,7 @@ impl Number { /// } /// ``` #[cfg(feature = "arbitrary_precision")] + #[cfg_attr(docsrs, doc(cfg(feature = "arbitrary_precision")))] pub fn as_str(&self) -> &str { &self.n }