Skip to content

Commit aabdd8e

Browse files
author
Ulrik Sverdrup
committed
docs: Update SliceConcatExt docs for assoc types
1 parent 12d50b2 commit aabdd8e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libcollections/slice.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ pub trait SliceConcatExt<T: ?Sized> {
10021002
/// The resulting type after concatenation
10031003
type Output;
10041004

1005-
/// Flattens a slice of `T` into a single value `U`.
1005+
/// Flattens a slice of `T` into a single value `Self::Output`.
10061006
///
10071007
/// # Examples
10081008
///
@@ -1012,7 +1012,8 @@ pub trait SliceConcatExt<T: ?Sized> {
10121012
#[stable(feature = "rust1", since = "1.0.0")]
10131013
fn concat(&self) -> Self::Output;
10141014

1015-
/// Flattens a slice of `T` into a single value `U`, placing a given separator between each.
1015+
/// Flattens a slice of `T` into a single value `Self::Output`, placing a given separator
1016+
/// between each.
10161017
///
10171018
/// # Examples
10181019
///

0 commit comments

Comments
 (0)