Skip to content

Commit

Permalink
fix PointerLike docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Markeffsky authored and gitbot committed Feb 20, 2025
1 parent b940268 commit c14564c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 c14564c

Please sign in to comment.