diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs index 0c074582281d6..91447e01ad4fa 100644 --- a/src/libcore/alloc.rs +++ b/src/libcore/alloc.rs @@ -67,6 +67,8 @@ impl Layout { /// or returns `LayoutErr` if either of the following conditions /// are not met: /// + /// * `align` must not be zero, + /// /// * `align` must be a power of two, /// /// * `size`, when rounded up to the nearest multiple of `align`,