From 3d6cc92410a75f2976dc8a2c94943ce2a8ca151a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 31 Dec 2023 15:58:55 -0800 Subject: [PATCH] Restore documented cfg on cxx::Exception --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 91b25ec3e..7f334b04d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -477,6 +477,7 @@ mod weak_ptr; pub use crate::cxx_vector::CxxVector; #[cfg(feature = "alloc")] +#[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] pub use crate::exception::Exception; pub use crate::extern_type::{kind, ExternType}; pub use crate::shared_ptr::SharedPtr;