Skip to content

Commit aace367

Browse files
author
Nick Hamann
committed
Revise E0133 description.
Tweaks some of the wording so it reads better.
1 parent c8b088e commit aace367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/diagnostics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ http://doc.rust-lang.org/reference.html#ffi-attributes
312312
E0133: r##"
313313
Using unsafe functionality, such as dereferencing raw pointers and calling
314314
functions via FFI or marked as unsafe, is potentially dangerous and disallowed
315-
by safety checks. As such, those safety checks can be temporarily relaxed by
316-
wrapping the unsafe instructions inside an `unsafe` block. For instance:
315+
by safety checks. These safety checks can be relaxed for a section of the code
316+
by wrapping the unsafe instructions with an `unsafe` block. For instance:
317317
318318
```
319319
unsafe fn f() { return; }

0 commit comments

Comments
 (0)