Skip to content

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Dec 18, 2012

This also fixes a couple warnings, and un-xfails two iter-related tests.

@brson
Copy link
Contributor

brson commented Dec 18, 2012

Everything looks ok to me except the last commit. Adding implementations of the iter traits for ~[T] and @[T] makes a lot of redundancy. What is the problem that this fixes?

Would be great if @nikomatsakis could review.

This bug is vaguely related, in that it is about making other vector types work with &[T] impls: #4148.

@brson
Copy link
Contributor

brson commented Dec 18, 2012

I merged the first 3.

@erickt
Copy link
Contributor Author

erickt commented Dec 18, 2012

#4148 looks like the exact problem I was running into. I could not get vec::flat_map_to_vec to compile without defining an implementation of iter::BaseIter for ~[T]. Could we tag these redundant impls with a FIXME #4148: ... for the 0.5 release, and remove them when #4148 is fixed?

@brson
Copy link
Contributor

brson commented Dec 19, 2012

I agree.

@erickt
Copy link
Contributor Author

erickt commented Dec 19, 2012

Merged in, closing.

@erickt erickt closed this Dec 19, 2012
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.

2 participants