We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f4347f + 1565fc2 commit 99a0d6bCopy full SHA for 99a0d6b
src/libcore/alloc.rs
@@ -67,6 +67,8 @@ impl Layout {
67
/// or returns `LayoutErr` if either of the following conditions
68
/// are not met:
69
///
70
+ /// * `align` must not be zero,
71
+ ///
72
/// * `align` must be a power of two,
73
74
/// * `size`, when rounded up to the nearest multiple of `align`,
0 commit comments