Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error[E0499]: cannot borrow `hmap` as mutable more than once at a time
- --> src/main.rs:16:55
- |
- 16 | attendees.push(set_if_needed_and_get(&mut hmap, m.to_string()));
- | ^^^^ mutable borrow starts here in previous iteration of loop
- ...
- 19 | }
- | - mutable borrow ends here
- error: aborting due to previous error
Add Comment
Please, Sign In to add comment