Skip to content

Commit 6891a03

Browse files
authored
Update library/core/src/ptr/alignment.rs
1 parent 59a2ea3 commit 6891a03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ptr/alignment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl From<Alignment> for NonZero<usize> {
198198

199199
#[unstable(feature = "ptr_alignment_type", issue = "102070")]
200200
impl From<Alignment> for usize {
201-
/// Return the inner value of `Alignment`
201+
/// Return the inner value of `Alignment` as a `usize`.
202202
#[inline]
203203
fn from(align: Alignment) -> usize {
204204
align.as_usize()

0 commit comments

Comments
 (0)