Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/main.rs:22:31: 22:35 error: cannot borrow `*self` as mutable more than once at a time
- src/main.rs:22 while let Some(msg) = self.next_packet() {
- ^~~~
- src/main.rs:22:31: 22:35 note: previous borrow of `*self` occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `*self` until the borrow ends
- src/main.rs:22 while let Some(msg) = self.next_packet() {
- ^~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement