Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCan not insert with mut reference using values #1214
Comments
This comment has been minimized.
|
Changing |
sgrif
closed this
Sep 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
xinghun92 commentedSep 27, 2017
This code can not compile.
The error is
And insert _or_replace works well
And I must use
let users = Vec::from(users)before insert, I think the ergonomics is bad.