about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-04-20 18:38:39 +0200
committerRalf Jung <post@ralfj.de>2019-04-20 18:38:39 +0200
commit79b91b7cdddcb45d2909d950a2e47f3be522ef64 (patch)
treeaa7c53fc0108f30e52dcf888f9b2b55b49d9db53 /src
parentdec24471bee1e791938b6307770d33554bea2c30 (diff)
downloadrust-79b91b7cdddcb45d2909d950a2e47f3be522ef64.tar.gz
rust-79b91b7cdddcb45d2909d950a2e47f3be522ef64.zip
improve docs
Diffstat (limited to 'src')
-rw-r--r--src/librustc/mir/interpret/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/mir/interpret/error.rs b/src/librustc/mir/interpret/error.rs
index cfc91a98e44..5c6fc6f49f0 100644
--- a/src/librustc/mir/interpret/error.rs
+++ b/src/librustc/mir/interpret/error.rs
@@ -229,8 +229,8 @@ pub enum InterpError<'tcx, O> {
     /// match an existing variant.
     MachineError(String),
 
-    /// Not actually an interprer error -- used to signal that execution has exited
-    /// with the given status code.
+    /// Not actually an interpreter error -- used to signal that execution has exited
+    /// with the given status code.  Used by Miri, but not by CTFE.
     Exit(i32),
 
     FunctionAbiMismatch(Abi, Abi),