Skip to content

Commit 714feab

Browse files
oli-obkRalfJung
andauthored
Update library/core/src/alloc/mod.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 48c8ff5 commit 714feab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/alloc/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pub unsafe trait AllocRef {
9696
///
9797
/// Note that you may not rely on this method actually getting called, even if there are calls
9898
/// to it in the source. The optimizer may detect unused allocations that it can either
99-
/// eliminate entirely or move to the stack and thus never invoke the allocator here. The
99+
/// eliminate entirely or move to the stack and thus never invoke the allocator. The
100100
/// optimizer may further assume that allocation is infallible, so code that used to fail due
101101
/// to allocator failures may now suddenly work because the optimizer worked around the
102102
/// need for an allocation.

0 commit comments

Comments
 (0)