We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c208243 commit 1565fc2Copy full SHA for 1565fc2
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