You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change relative priority of auto-slice and auto-ptr
rationale: if you have an impl for &const ~[T] or &mut ~[T]
and one for &[T], the first will be more likely to work and not lead
to borrowck errors. I could imagine us wanting to offer multiple
impls for methods we select the ptr-to-array when possible and
the slice when necessary. Also, taking a ptr seems like fewer
adaptations than slicing, and we tend to prefer fewer adaptations.
0 commit comments