Skip to content

Commit 15af618

Browse files
Merge pull request #11 from mjp41/master
Improve documents after upstream update
2 parents bcdb657 + 1aef969 commit 15af618

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

snmalloc-sys/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ extern "C" {
1010
/// On failure, it returns a null pointer.
1111
/// The client must assure the following things:
1212
/// - `alignment` is greater than zero
13-
/// - `alignment` is less equal to `SUPERSLAB_SIZE` (defined in snmalloc)
14-
/// - `alignment` is of the power of 2
13+
/// - `alignment` is a power of 2
1514
/// The program may be forced to abort if the constrains are not full-filled.
1615
pub fn rust_alloc(alignment: size_t, size: size_t) -> *mut c_void;
1716

0 commit comments

Comments
 (0)