Skip to content
Discussion options

You must be logged in to vote

I could be wrong but I believe a for loop typically desugars to using into_iter(). ModelRc I believe has iter() but not into_iter(). So I think you need to change the line to

for (name, value) in args.iter()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@loloof64
Comment options

Answer selected by loloof64
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