Tweak cxx::vector and cxx::memory module-level doc

This commit is contained in:
David Tolnay 2021-03-25 02:02:20 -04:00
parent 3690e65e41
commit 751ee02ffb
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
//! Less used details of `UniquePtr` and `SharedPtr`.
//!
//! The pointer types themselves are exposed at the crate root.
pub use crate::shared_ptr::SharedPtrTarget;
pub use crate::unique_ptr::UniquePtrTarget;
#[doc(no_inline)]

View File

@ -1,5 +1,6 @@
//! Less used details of `CxxVector` are exposed in this module. `CxxVector`
//! itself is exposed at the crate root.
//! Less used details of `CxxVector`.
//!
//! `CxxVector` itself is exposed at the crate root.
pub use crate::cxx_vector::{Iter, IterMut, VectorElement};
#[doc(inline)]