@@ -1417,9 +1417,12 @@ impl<T: Write, U: Write> Write for Broadcast<T, U> {
1417
1417
}
1418
1418
}
1419
1419
1420
- /// Adaptor to chain together two instances of `Read` .
1420
+ /// Adaptor to chain together two readers .
1421
1421
///
1422
- /// For more information, see `Read::chain`.
1422
+ /// This struct is generally created by calling [`chain()`][chain] on a reader.
1423
+ /// Please see the documentation of `chain()` for more details.
1424
+ ///
1425
+ /// [chain]: trait.Read.html#method.chain
1423
1426
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1424
1427
pub struct Chain < T , U > {
1425
1428
first : T ,
@@ -1495,7 +1498,10 @@ impl<T: BufRead> BufRead for Take<T> {
1495
1498
1496
1499
/// An adaptor which will emit all read data to a specified writer as well.
1497
1500
///
1498
- /// For more information see `Read::tee`
1501
+ /// This struct is generally created by calling [`tee()`][tee] on a reader.
1502
+ /// Please see the documentation of `tee()` for more details.
1503
+ ///
1504
+ /// [tee]: trait.Read.html#method.tee
1499
1505
#[ unstable( feature = "io" , reason = "awaiting stability of Read::tee" ) ]
1500
1506
pub struct Tee < R , W > {
1501
1507
reader : R ,
@@ -1512,9 +1518,12 @@ impl<R: Read, W: Write> Read for Tee<R, W> {
1512
1518
}
1513
1519
}
1514
1520
1515
- /// A bridge from implementations of `Read` to an `Iterator` of `u8`.
1521
+ /// An iterator over `u8` values of a reader.
1522
+ ///
1523
+ /// This struct is generally created by calling [`bytes()`][bytes] on a reader.
1524
+ /// Please see the documentation of `bytes()` for more details.
1516
1525
///
1517
- /// See `Read:: bytes` for more information.
1526
+ /// [ bytes]: trait.Read.html#method.bytes
1518
1527
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1519
1528
pub struct Bytes < R > {
1520
1529
inner : R ,
@@ -1534,9 +1543,12 @@ impl<R: Read> Iterator for Bytes<R> {
1534
1543
}
1535
1544
}
1536
1545
1537
- /// A bridge from implementations of `Read` to an `Iterator` of `char` .
1546
+ /// An iterator over the `char`s of a reader .
1538
1547
///
1539
- /// See `Read::chars` for more information.
1548
+ /// This struct is generally created by calling [`chars()`][chars] on a reader.
1549
+ /// Please see the documentation of `chars()` for more details.
1550
+ ///
1551
+ /// [chars]: trait.Read.html#method.chars
1540
1552
#[ unstable( feature = "io" , reason = "awaiting stability of Read::chars" ) ]
1541
1553
pub struct Chars < R > {
1542
1554
inner : R ,
@@ -1618,7 +1630,10 @@ impl fmt::Display for CharsError {
1618
1630
/// An iterator over the contents of an instance of `BufRead` split on a
1619
1631
/// particular byte.
1620
1632
///
1621
- /// See `BufRead::split` for more information.
1633
+ /// This struct is generally created by calling [`split()`][split] on a
1634
+ /// `BufRead`. Please see the documentation of `split()` for more details.
1635
+ ///
1636
+ /// [split]: trait.BufRead.html#method.split
1622
1637
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1623
1638
pub struct Split < B > {
1624
1639
buf : B ,
@@ -1644,10 +1659,12 @@ impl<B: BufRead> Iterator for Split<B> {
1644
1659
}
1645
1660
}
1646
1661
1647
- /// An iterator over the lines of an instance of `BufRead` split on a newline
1648
- /// byte.
1662
+ /// An iterator over the lines of an instance of `BufRead`.
1663
+ ///
1664
+ /// This struct is generally created by calling [`lines()`][lines] on a
1665
+ /// `BufRead`. Please see the documentation of `lines()` for more details.
1649
1666
///
1650
- /// See `BufRead:: lines` for more information.
1667
+ /// [ lines]: trait.BufRead.html#method.lines
1651
1668
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1652
1669
pub struct Lines < B > {
1653
1670
buf : B ,
0 commit comments