Skip to content

Commit 48c8ff5

Browse files
oli-obkRalfJung
andauthored
Update library/core/src/alloc/global.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent fda4c8d commit 48c8ff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/alloc/global.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ use crate::ptr;
5757
/// * You may not rely on allocations actually happening, even if there are explicit
5858
/// heap allocations in the source.
5959
/// The optimizer may detect unused allocations that it can either
60-
/// eliminate entirely or move to the stack and thus never invoke the allocator here. The
60+
/// eliminate entirely or move to the stack and thus never invoke the allocator. The
6161
/// optimizer may further assume that allocation is infallible, so code that used to fail due
6262
/// to allocator failures may now suddenly work because the optimizer worked around the
6363
/// need for an allocation.

0 commit comments

Comments
 (0)