Skip to content

Commit 5dda0c9

Browse files
committed
Document Default for Alignment
1 parent 5ed6aa7 commit 5dda0c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/ptr/alignment.rs

+1
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ impl hash::Hash for Alignment {
225225
}
226226
}
227227

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

0 commit comments

Comments
 (0)