Skip to content

'cannot move out of a shared reference' #1063

Discussion options

You must be logged in to vote

You must updated your get_adapter method to take references and not ownership. I recommend this chapter of the book https://doc.rust-lang.org/book/ch04-00-understanding-ownership.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SiddheshKanawade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants