Lines Matching refs:concat
554 /// assert_eq!(["hello", "world"].concat(), "helloworld");
555 /// assert_eq!([[1, 2], [3, 4]].concat(), [1, 2, 3, 4]);
559 pub fn concat<Item: ?Sized>(&self) -> <Self as Concat<Item>>::Output
563 Concat::concat(self)
655 /// Helper trait for [`[T]::concat`](slice::concat).
690 /// Implementation of [`[T]::concat`](slice::concat)
692 fn concat(slice: &Self) -> Self::Output;
712 fn concat(slice: &Self) -> Vec<T> {