diff --git a/vortex-scalar/src/pvalue.rs b/vortex-scalar/src/pvalue.rs index d983d50039..e68499b6e7 100644 --- a/vortex-scalar/src/pvalue.rs +++ b/vortex-scalar/src/pvalue.rs @@ -25,6 +25,7 @@ pub enum PValue { macro_rules! as_primitive { ($T:ty, $PT:tt) => { paste! { + #[doc = "Access PValue as `" $T "`, returning `None` if conversion is unsuccessful"] pub fn [](self) -> Option<$T> { if let PValue::$PT(v) = self { Some(v)