From 5f3cec4a00f9e5f62b5b28d47d8e84b02c661eb2 Mon Sep 17 00:00:00 2001 From: Alexis Beingessner Date: Wed, 8 Jul 2015 15:04:55 -0700 Subject: [PATCH] fix typo --- working-with-unsafe.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/working-with-unsafe.md b/working-with-unsafe.md index 6725132..57b71d1 100644 --- a/working-with-unsafe.md +++ b/working-with-unsafe.md @@ -33,7 +33,7 @@ fn do_idx(idx: usize, arr: &[u8]) -> Option { } ``` -This program is now unsound, an yet *we only modified safe code*. This is the +This program is now unsound, and yet *we only modified safe code*. This is the fundamental problem of safety: it's non-local. The soundness of our unsafe operations necessarily depends on the state established by "safe" operations. Although safety *is* modular (we *still* don't need to worry about about