Note about successful compilation

This commit is contained in:
Bradlee Speice 2020-07-18 00:57:46 -04:00
parent eb99d4ac89
commit 34cbdc502c

View File

@ -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 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 `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` # Don't feel bad about requiring `Unpin`