mirror of
https://github.com/bspeice/speice.io
synced 2025-04-27 16:21:30 -04: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
|
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`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user