about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2020-12-26 18:06:04 +0100
committerGitHub <noreply@github.com>2020-12-26 18:06:04 +0100
commit714feab05993c35e971a307191ee662932df1ee5 (patch)
tree31565ea9e1373a60b5fa12e5e463e89b02185976
parent48c8ff59ecc01060532b43c2fb27f9bc7a3d8fcd (diff)
downloadrust-714feab05993c35e971a307191ee662932df1ee5.tar.gz
rust-714feab05993c35e971a307191ee662932df1ee5.zip
Update library/core/src/alloc/mod.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
-rw-r--r--library/core/src/alloc/mod.rs2
1 files changed, 1 insertions, 1 deletions
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.