From 34cbdc502cf01966e63924704a2eb2b9519b5041 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sat, 18 Jul 2020 00:57:46 -0400 Subject: [PATCH] Note about successful compilation --- _posts/2020-07-08-on-implementing-futures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2020-07-08-on-implementing-futures.md b/_posts/2020-07-08-on-implementing-futures.md index 0cd8175..54b91ad 100644 --- a/_posts/2020-07-08-on-implementing-futures.md +++ b/_posts/2020-07-08-on-implementing-futures.md @@ -181,7 +181,7 @@ error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable Now, we can see that `self` can't be borrowed as mutable (it needs to be marked `mut self: Pin<&mut Self>`) and that the reader can't be borrowed as mutable (the struct definition -needs `&'a mut R2`). +needs `&'a mut R2`). After those are fixed, we're good to go. # Don't feel bad about requiring `Unpin`