Conversation

top ten most regrettable impls:

1. impl<T> From<T> for <T>
2. impl<T> Default for [T; 0]
3. impl<A: Step> Iterator for Range<A>
4. impl<T> Move for T
5. ??????

2
3
1

@aDot Why is #1 regrettable?

I can see #2 being awkward if you're doing const generics maybe though I never tried it?

#3 is awkward because of the in-place mutation, I think?

#4 isn't a trait, but I think you're referring to the whole Pin/Unpin shitshow?

0
0
0
@aDot for _reasons_ I have been looking into the history of the range types and a pretty interesting thing I fell over was the exact comment that is the reasons for that impl https://github.com/rust-lang/rust/issues/19794#issuecomment-66860712 the early days of rust did not have as much rigor as there is today, which maybe was a good thing at the time to actually finish a release.
0
0
0