From 4b1781c3508fec42fb7a5e2f1653467ebaba3f08 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 20 Aug 2015 21:37:12 +0200 Subject: [PATCH] nomicon: insert missing words --- safe-unsafe-meaning.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safe-unsafe-meaning.md b/safe-unsafe-meaning.md index 2f15b70..e9037b5 100644 --- a/safe-unsafe-meaning.md +++ b/safe-unsafe-meaning.md @@ -125,7 +125,7 @@ unsafe impl UnsafeOrd for MyType { But it's probably not the implementation you want. Rust has traditionally avoided making traits unsafe because it makes Unsafe -pervasive, which is not desirable. Send and Sync are unsafe is because thread +pervasive, which is not desirable. The reason Send and Sync are unsafe is because thread safety is a *fundamental property* that unsafe code cannot possibly hope to defend against in the same way it would defend against a bad Ord implementation. The only way to possibly defend against thread-unsafety would be to *not use