]> git.lizzy.rs Git - rust.git/commit
collections: Convert SliceConcatExt to use associated types
authorUlrik Sverdrup <root@localhost>
Tue, 5 May 2015 14:34:35 +0000 (16:34 +0200)
committerUlrik Sverdrup <root@localhost>
Tue, 5 May 2015 14:39:33 +0000 (16:39 +0200)
commit2ca77f1c96f60b44c0d51d7d69046ad9a8532a46
treecc5b8d6aa3c8325cad44af708a3a1189fccf9d98
parent0d7d3ec9d2b314af0188a820c58fbd95ee905793
collections: Convert SliceConcatExt to use associated types

Coherence now allows this, we have SliceConcatExt<T> for [V] where T: Sized
+ Clone and SliceConcatExt<str> for [S], these don't conflict because
str is never Sized.
src/libcollections/slice.rs
src/libcollections/str.rs