-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DirectiveList::into_iter
unexpectedly yields references
#821
Comments
DirectiveList::into_iter
unexpectedly yields references.DirectiveList::into_iter
unexpectedly yields references
apollo-rs/crates/apollo-compiler/src/ast/impls.rs Lines 599 to 607 in 0fa07a8
This impl exists to make code like In what kind of situation do you manipulate an owned |
I hadn't realized that I think implementing |
DirectiveList::into_iter
unexpectedly yields references.I'd expect a function name
into_iter
to iterate over owned values.Standard Vec:
The text was updated successfully, but these errors were encountered: