Skip to content

Conversation

petertseng
Copy link
Member

I think the first commit is something we want? We'd like CustomSet to take &[T] instead of Vec<T>, right? It is included in #454 so that's fine

The second commit ("custom-set:take the iterator directly") is interesting but doesn't appear to have any other tangible benefits. I don't think I'm inclined to merge it.

Note that this only adds functionality to the example; student solutions are not required to take an IntoIterator.

I don't believe Clippy gave a suggestion for this one, but it is similar
to useless_vec.

The example had to be reworked to make this work.
@petertseng petertseng closed this Mar 10, 2018
@petertseng petertseng deleted the custom-set-short branch March 12, 2018 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant