We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9fe0ca commit 66a6512Copy full SHA for 66a6512
library/std/src/alloc.rs
@@ -187,6 +187,8 @@ impl System {
187
}
188
189
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`.
192
#[unstable(feature = "allocator_api", issue = "32838")]
193
unsafe impl AllocRef for System {
194
#[inline]
0 commit comments