Advertisement
Guest User

Untitled

a guest
May 20th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. error[E0499]: cannot borrow `sock` as mutable more than once at a time
  2. --> src/main.rs:74:9
  3. |
  4. 38 | let packet = sock.next().unwrap();
  5. | ---- first mutable borrow occurs here
  6. ...
  7. 74 | sock.sendpacket(resp_packet);
  8. | ^^^^ second mutable borrow occurs here
  9. 75 | }
  10. | - first borrow ends here
  11.  
  12. error: aborting due to previous error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement