about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-06-06 12:52:01 +0200
committerRalf Jung <post@ralfj.de>2019-06-10 13:08:13 +0200
commit0edf46f7d1db0f09dc07bf93ed466ea067d50054 (patch)
tree1a107fca8ac4b40ec31913620d779c758aeb43b7 /src
parentb823cc1ece209bcdb4c99f7c26c10c538b8c1f89 (diff)
comments
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/transform/qualify_consts.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_mir/transform/qualify_consts.rs b/src/librustc_mir/transform/qualify_consts.rs
index a353ebdabb9..19bd812ec80 100644
--- a/src/librustc_mir/transform/qualify_consts.rs
+++ b/src/librustc_mir/transform/qualify_consts.rs
@@ -307,9 +307,9 @@ trait Qualif {
 
 /// Constant containing interior mutability (`UnsafeCell<T>`).
 /// This must be ruled out to make sure that evaluating the constant at compile-time
-/// and run-time would produce the same result. In particular, promotion of temporaries
-/// must not change program behavior; if the promoted could be written to, that would
-/// be a problem.
+/// and at *any point* during the run-time would produce the same result. In particular,
+/// promotion of temporaries must not change program behavior; if the promoted could be
+/// written to, that would be a problem.
 struct HasMutInterior;
 
 impl Qualif for HasMutInterior {