Last active
August 29, 2015 14:19
-
-
Save simias/756db24070d79112a959 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { | |
^~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment