Skip to content

Commit a02447a

Browse files
authored
Merge pull request #1296 from dtolnay/doccfg
Restore documented cfg on cxx::Exception
2 parents 4808ad3 + 3d6cc92 commit a02447a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ mod weak_ptr;
477477

478478
pub use crate::cxx_vector::CxxVector;
479479
#[cfg(feature = "alloc")]
480+
#[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))]
480481
pub use crate::exception::Exception;
481482
pub use crate::extern_type::{kind, ExternType};
482483
pub use crate::shared_ptr::SharedPtr;

0 commit comments

Comments
 (0)