From c4fc6c677d4de82e67e1df7e5cf4314dde514510 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Fri, 23 Jun 2017 13:30:31 +0200 Subject: [PATCH] Typo --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 91bd0d959ff2..0c23038c3c35 100644 --- a/src/error.rs +++ b/src/error.rs @@ -91,7 +91,7 @@ impl<'tcx> Error for EvalError<'tcx> { EvalError::ReadBytesAsPointer => "a memory access tried to interpret some bytes as a pointer", EvalError::InvalidPointerMath => - "attempted to do invalid arithmetic on pointers that would leak base addresses, e.g. compating pointers into different allocations", + "attempted to do invalid arithmetic on pointers that would leak base addresses, e.g. comparing pointers into different allocations", EvalError::ReadUndefBytes => "attempted to read undefined bytes", EvalError::DeadLocal =>