From 79b91b7cdddcb45d2909d950a2e47f3be522ef64 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 20 Apr 2019 18:38:39 +0200 Subject: [PATCH] improve docs --- src/librustc/mir/interpret/error.rs | 4 ++-- 1 file 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),