File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -999,7 +999,7 @@ impl<T> [T] {
999
999
#[ unstable( feature = "collections" , reason = "U should be an associated type" ) ]
1000
1000
/// An extension trait for concatenating slices
1001
1001
pub trait SliceConcatExt < T : ?Sized , U > {
1002
- /// Flattens a slice of `T` into a single value `U `.
1002
+ /// Flattens a slice of `T` into a single value `Self::Output `.
1003
1003
///
1004
1004
/// # Examples
1005
1005
///
@@ -1009,7 +1009,8 @@ pub trait SliceConcatExt<T: ?Sized, U> {
1009
1009
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1010
1010
fn concat ( & self ) -> U ;
1011
1011
1012
- /// Flattens a slice of `T` into a single value `U`, placing a given separator between each.
1012
+ /// Flattens a slice of `T` into a single value `Self::Output`, placing a given separator
1013
+ /// between each.
1013
1014
///
1014
1015
/// # Examples
1015
1016
///
You can’t perform that action at this time.
0 commit comments