From dd98ac89d0273f0a401b79bf9af0e5891ff56d2f Mon Sep 17 00:00:00 2001 From: Jay Oster Date: Sat, 15 Dec 2018 10:23:36 -0700 Subject: [PATCH] Update book/src/01-limitations/03-volatile_destination.md Co-Authored-By: Lokathor --- book/src/01-limitations/03-volatile_destination.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/01-limitations/03-volatile_destination.md b/book/src/01-limitations/03-volatile_destination.md index 14fb69d..f03c62c 100644 --- a/book/src/01-limitations/03-volatile_destination.md +++ b/book/src/01-limitations/03-volatile_destination.md @@ -196,7 +196,7 @@ impl Iterator for VolatilePtrIter { Except we _can't_ write that code. What? The problem is that we used `derive(Clone, Copy` on `VolatilePtr`. Because of a quirk in how `derive` works, -this makes `VolatilePtr` will only be `Copy` if the `T` is `Copy`, _even +this means `VolatilePtr` will only be `Copy` if the `T` is `Copy`, _even though the pointer itself is always `Copy` regardless of what it points to_. Ugh, terrible. We've got three basic ways to handle this: