fix PointerLike
docs
This commit is contained in:
parent
971a4f2d3b
commit
159dba89ef
1 changed files with 2 additions and 2 deletions
|
@ -982,8 +982,8 @@ pub trait Tuple {}
|
|||
|
||||
/// A marker for pointer-like types.
|
||||
///
|
||||
/// All types that have the same size and alignment as a `usize` or
|
||||
/// `*const ()` automatically implement this trait.
|
||||
/// This trait can only be implemented for types that have the same size and alignment
|
||||
/// as a `usize` or `*const ()`.
|
||||
#[unstable(feature = "pointer_like_trait", issue = "none")]
|
||||
#[lang = "pointer_like"]
|
||||
#[diagnostic::on_unimplemented(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue