Skip to content

Commit 7c1b8a7

Browse files
committed
Hide SupportedPointee from docs
It's an implementation limitation that shouldn't come up on nightly rust, and wont come up for T: Sized or [T] on stable rust.
1 parent 91b0a66 commit 7c1b8a7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,12 +1060,14 @@ impl<T: ?Sized + SupportedPointee, A: Allocator> DropInfo for DropContext<T, A>
10601060
///
10611061
/// # Safety
10621062
/// Effectively sealed, so all implementations can be trusted.
1063+
#[doc(hidden)]
10631064
pub trait SupportedPointee: SupportedPointeeInternal {}
10641065

10651066
/// A type that can be used in a [`Weak`]
10661067
///
10671068
/// This is more not implemented for as many types as [`SupportedWeakPointee`],
10681069
/// as it is more difficult to polyfill the functionality that [`Weak`] needs.
1070+
#[doc(hidden)]
10691071
pub trait SupportedWeakPointee: SupportedPointee + SupportedWeakPointeeInternal {}
10701072

10711073
/// A weak-reference to a [`Brc`].

0 commit comments

Comments
 (0)