]> git.lizzy.rs Git - rust.git/commitdiff
docs: Update SliceConcatExt docs for assoc types
authorUlrik Sverdrup <root@localhost>
Mon, 11 May 2015 00:01:27 +0000 (02:01 +0200)
committerUlrik Sverdrup <root@localhost>
Mon, 11 May 2015 01:43:04 +0000 (03:43 +0200)
src/libcollections/slice.rs

index b9e9800f7a0e78fcb1cd730c5bce0a441cb4c69b..d5a069b194a5de3535c7fdc4664faf70ea095733 100644 (file)
@@ -1002,7 +1002,7 @@ pub trait SliceConcatExt<T: ?Sized> {
     /// The resulting type after concatenation
     type Output;
 
-    /// Flattens a slice of `T` into a single value `U`.
+    /// Flattens a slice of `T` into a single value `Self::Output`.
     ///
     /// # Examples
     ///
@@ -1012,7 +1012,8 @@ pub trait SliceConcatExt<T: ?Sized> {
     #[stable(feature = "rust1", since = "1.0.0")]
     fn concat(&self) -> Self::Output;
 
-    /// Flattens a slice of `T` into a single value `U`, placing a given separator between each.
+    /// Flattens a slice of `T` into a single value `Self::Output`, placing a given separator
+    /// between each.
     ///
     /// # Examples
     ///