From 714feab05993c35e971a307191ee662932df1ee5 Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Sat, 26 Dec 2020 18:06:04 +0100 Subject: [PATCH] Update library/core/src/alloc/mod.rs Co-authored-by: Ralf Jung --- library/core/src/alloc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/alloc/mod.rs b/library/core/src/alloc/mod.rs index fc89046bc42..4aa166e6aa1 100644 --- a/library/core/src/alloc/mod.rs +++ b/library/core/src/alloc/mod.rs @@ -96,7 +96,7 @@ pub unsafe trait AllocRef { /// /// Note that you may not rely on this method actually getting called, even if there are calls /// to it in the source. The optimizer may detect unused allocations that it can either - /// eliminate entirely or move to the stack and thus never invoke the allocator here. The + /// eliminate entirely or move to the stack and thus never invoke the allocator. The /// optimizer may further assume that allocation is infallible, so code that used to fail due /// to allocator failures may now suddenly work because the optimizer worked around the /// need for an allocation. -- 2.44.0