diff options
| author | Oli Scherer <github35764891676564198441@oli-obk.de> | 2020-12-26 18:05:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-26 18:05:55 +0100 |
| commit | 48c8ff59ecc01060532b43c2fb27f9bc7a3d8fcd (patch) | |
| tree | e56f2c584cc519b53b25ce078a4fbd1d55e8205b /library/core/src/alloc | |
| parent | fda4c8d5c188da56d8f25b562a4a25d422179a87 (diff) | |
| download | rust-48c8ff59ecc01060532b43c2fb27f9bc7a3d8fcd.tar.gz rust-48c8ff59ecc01060532b43c2fb27f9bc7a3d8fcd.zip | |
Update library/core/src/alloc/global.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
Diffstat (limited to 'library/core/src/alloc')
| -rw-r--r-- | library/core/src/alloc/global.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/alloc/global.rs b/library/core/src/alloc/global.rs index 6549ea1a124..c1bd896bdbc 100644 --- a/library/core/src/alloc/global.rs +++ b/library/core/src/alloc/global.rs @@ -57,7 +57,7 @@ use crate::ptr; /// * You may not rely on allocations actually happening, even if there are explicit /// heap allocations 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. |
