]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/mir/interpret/error.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc / mir / interpret / error.rs
index 503e0abdbf3002a247af861259e2e0f2ff7ea211..289f693df244d0d43728cc2bbd9a6960a598fd42 100644 (file)
@@ -378,7 +378,7 @@ pub fn description(&self) -> &str {
                 "tried to read from foreign (extern) static",
             InvalidPointerMath =>
                 "attempted to do invalid arithmetic on pointers that would leak base addresses, \
-                e.g. comparing pointers into different allocations",
+                e.g., comparing pointers into different allocations",
             ReadUndefBytes(_) =>
                 "attempted to read undefined bytes",
             DeadLocal =>