Skip to content

Commit 66a6512

Browse files
committed
Add comment, which was removed by accident (again)
1 parent a9fe0ca commit 66a6512

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/std/src/alloc.rs

+2
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ impl System {
187187
}
188188
}
189189

190+
// The AllocRef impl checks the layout size to be non-zero and forwards to the GlobalAlloc impl,
191+
// which is in `std::sys::*::alloc`.
190192
#[unstable(feature = "allocator_api", issue = "32838")]
191193
unsafe impl AllocRef for System {
192194
#[inline]

0 commit comments

Comments
 (0)