about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Hamann <nick@wabbo.org>2015-06-10 00:37:36 -0500
committerNick Hamann <nick@wabbo.org>2015-06-10 02:18:53 -0500
commitaace3675b7d46cda4140ca5e207963a042649aa2 (patch)
tree91993ae641654c7b55e17243497555f8e811b5e7
parentc8b088eb38128e8b0e50a550d4b89334574f1216 (diff)
downloadrust-aace3675b7d46cda4140ca5e207963a042649aa2.tar.gz
rust-aace3675b7d46cda4140ca5e207963a042649aa2.zip
Revise E0133 description.
Tweaks some of the wording so it reads better.
-rw-r--r--src/librustc/diagnostics.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs
index 9a60e2378cc..0857fb3258e 100644
--- a/src/librustc/diagnostics.rs
+++ b/src/librustc/diagnostics.rs
@@ -312,8 +312,8 @@ http://doc.rust-lang.org/reference.html#ffi-attributes
 E0133: r##"
 Using unsafe functionality, such as dereferencing raw pointers and calling
 functions via FFI or marked as unsafe, is potentially dangerous and disallowed
-by safety checks. As such, those safety checks can be temporarily relaxed by
-wrapping the unsafe instructions inside an `unsafe` block. For instance:
+by safety checks. These safety checks can be relaxed for a section of the code
+by wrapping the unsafe instructions with an `unsafe` block. For instance:
 
 ```
 unsafe fn f() { return; }