Skip to content

Commit

Permalink
Document Default for Alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
clarfonthey committed Oct 13, 2023
1 parent 5ed6aa7 commit 5dda0c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/ptr/alignment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ impl hash::Hash for Alignment {
}
}

/// Returns [`Alignment::MIN`], which is valid for any type.
#[unstable(feature = "ptr_alignment_type", issue = "102070")]
impl Default for Alignment {
fn default() -> Alignment {
Expand Down

0 comments on commit 5dda0c9

Please sign in to comment.