Skip to content

Commit

Permalink
Revise E0133 description.
Browse files Browse the repository at this point in the history
Tweaks some of the wording so it reads better.
  • Loading branch information
Nick Hamann committed Jun 10, 2015
1 parent c8b088e commit aace367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/diagnostics.rs
Expand Up @@ -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; }
Expand Down

0 comments on commit aace367

Please sign in to comment.