mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -05:00
Note about successful compilation
This commit is contained in:
parent
eb99d4ac89
commit
34cbdc502c
@ -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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user