From c91bf2dd046b387dc62082d0eeaca868b8709928 Mon Sep 17 00:00:00 2001 From: Alfie John Date: Tue, 18 Nov 2014 10:37:34 +0000 Subject: [PATCH] doc: correction of purpose for unsafe code --- src/doc/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index 171c39a4cbc39..259b0da16685a 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1147,7 +1147,7 @@ with only boxes. This is a list of behavior which is forbidden in all Rust code. Type checking provides the guarantee that these issues are never caused by safe code. An -`unsafe` block or function is responsible for never invoking this behaviour or +`unsafe` block or function is responsible for invoking this behaviour or exposing an API making it possible for it to occur in safe code. * Data races