Skip to content

Commit 57b24ea

Browse files
committed
---
yaml --- r: 194328 b: refs/heads/tmp c: 61e6904 h: refs/heads/master v: v3
1 parent 5bf6e86 commit 57b24ea

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: a3b13610c5b93d9ada072471a001a5613df6a960
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 84f760b50a04d2a7f1b7c6128e273084e2a8ffb0
37+
refs/heads/tmp: 61e690405a397130d0ffad5bfdcaf7897883b8a2
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3939
refs/tags/homu-tmp: 28a0b25f424090255966273994748a9f9901059f
4040
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/src/liballoc/heap.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ pub unsafe fn allocate(size: usize, align: usize) -> *mut u8 {
2626
///
2727
/// On failure, return a null pointer and leave the original allocation intact.
2828
///
29+
/// If the allocation was relocated, the memory at the passed-in pointer is
30+
/// undefined after the call.
31+
///
2932
/// Behavior is undefined if the requested size is 0 or the alignment is not a
3033
/// power of 2. The alignment must be no larger than the largest supported page
3134
/// size on the platform.

0 commit comments

Comments
 (0)