File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 84f760b50a04d2a7f1b7c6128e273084e2a8ffb0
2
+ refs/heads/master: 61e690405a397130d0ffad5bfdcaf7897883b8a2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: a923278c6278c63468d74772c58dbf788e88f58c
5
5
refs/heads/try: ce76bff75603a754d092456285ff455eb871633d
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ pub unsafe fn allocate(size: usize, align: usize) -> *mut u8 {
26
26
///
27
27
/// On failure, return a null pointer and leave the original allocation intact.
28
28
///
29
+ /// If the allocation was relocated, the memory at the passed-in pointer is
30
+ /// undefined after the call.
31
+ ///
29
32
/// Behavior is undefined if the requested size is 0 or the alignment is not a
30
33
/// power of 2. The alignment must be no larger than the largest supported page
31
34
/// size on the platform.
You can’t perform that action at this time.
0 commit comments