@@ -383,7 +383,7 @@ pub const unsafe fn size_of_val_raw<T: ?Sized>(val: *const T) -> usize {
383
383
unsafe { intrinsics:: size_of_val ( val) }
384
384
}
385
385
386
- /// Returns the [ABI]-required minimum alignment of a type.
386
+ /// Returns the [ABI]-required minimum alignment of a type in bytes .
387
387
///
388
388
/// Every reference to a value of the type `T` must be a multiple of this number.
389
389
///
@@ -407,7 +407,8 @@ pub fn min_align_of<T>() -> usize {
407
407
intrinsics:: min_align_of :: < T > ( )
408
408
}
409
409
410
- /// Returns the [ABI]-required minimum alignment of the type of the value that `val` points to.
410
+ /// Returns the [ABI]-required minimum alignment of the type of the value that `val` points to in
411
+ /// bytes.
411
412
///
412
413
/// Every reference to a value of the type `T` must be a multiple of this number.
413
414
///
@@ -430,7 +431,7 @@ pub fn min_align_of_val<T: ?Sized>(val: &T) -> usize {
430
431
unsafe { intrinsics:: min_align_of_val ( val) }
431
432
}
432
433
433
- /// Returns the [ABI]-required minimum alignment of a type.
434
+ /// Returns the [ABI]-required minimum alignment of a type in bytes .
434
435
///
435
436
/// Every reference to a value of the type `T` must be a multiple of this number.
436
437
///
@@ -454,7 +455,8 @@ pub const fn align_of<T>() -> usize {
454
455
intrinsics:: min_align_of :: < T > ( )
455
456
}
456
457
457
- /// Returns the [ABI]-required minimum alignment of the type of the value that `val` points to.
458
+ /// Returns the [ABI]-required minimum alignment of the type of the value that `val` points to in
459
+ /// bytes.
458
460
///
459
461
/// Every reference to a value of the type `T` must be a multiple of this number.
460
462
///
@@ -477,7 +479,8 @@ pub const fn align_of_val<T: ?Sized>(val: &T) -> usize {
477
479
unsafe { intrinsics:: min_align_of_val ( val) }
478
480
}
479
481
480
- /// Returns the [ABI]-required minimum alignment of the type of the value that `val` points to.
482
+ /// Returns the [ABI]-required minimum alignment of the type of the value that `val` points to in
483
+ /// bytes.
481
484
///
482
485
/// Every reference to a value of the type `T` must be a multiple of this number.
483
486
///
0 commit comments