Skip to content

Commit

Permalink
fix PointerLike docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Markeffsky committed Dec 20, 2024
1 parent 971a4f2 commit 159dba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 159dba8

Please sign in to comment.