@@ -1188,9 +1188,12 @@ impl<T: Write, U: Write> Write for Broadcast<T, U> {
1188
1188
}
1189
1189
}
1190
1190
1191
- /// Adaptor to chain together two instances of `Read` .
1191
+ /// Adaptor to chain together two readers .
1192
1192
///
1193
- /// For more information, see `Read::chain`.
1193
+ /// This struct is generally created by calling [`chain()`][chain] on a reader.
1194
+ /// Please see the documentation of `chain()` for more details.
1195
+ ///
1196
+ /// [chain]: trait.Read.html#method.chain
1194
1197
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1195
1198
pub struct Chain < T , U > {
1196
1199
first : T ,
@@ -1266,7 +1269,10 @@ impl<T: BufRead> BufRead for Take<T> {
1266
1269
1267
1270
/// An adaptor which will emit all read data to a specified writer as well.
1268
1271
///
1269
- /// For more information see `Read::tee`
1272
+ /// This struct is generally created by calling [`tee()`][tee] on a reader.
1273
+ /// Please see the documentation of `tee()` for more details.
1274
+ ///
1275
+ /// [tee]: trait.Read.html#method.tee
1270
1276
#[ unstable( feature = "io" , reason = "awaiting stability of Read::tee" ) ]
1271
1277
pub struct Tee < R , W > {
1272
1278
reader : R ,
@@ -1283,9 +1289,12 @@ impl<R: Read, W: Write> Read for Tee<R, W> {
1283
1289
}
1284
1290
}
1285
1291
1286
- /// A bridge from implementations of `Read` to an `Iterator` of `u8`.
1292
+ /// An iterator over `u8` values of a reader.
1293
+ ///
1294
+ /// This struct is generally created by calling [`bytes()`][bytes] on a reader.
1295
+ /// Please see the documentation of `bytes()` for more details.
1287
1296
///
1288
- /// See `Read:: bytes` for more information.
1297
+ /// [ bytes]: trait.Read.html#method.bytes
1289
1298
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1290
1299
pub struct Bytes < R > {
1291
1300
inner : R ,
@@ -1305,9 +1314,12 @@ impl<R: Read> Iterator for Bytes<R> {
1305
1314
}
1306
1315
}
1307
1316
1308
- /// A bridge from implementations of `Read` to an `Iterator` of `char` .
1317
+ /// An iterator over the `char`s of a reader .
1309
1318
///
1310
- /// See `Read::chars` for more information.
1319
+ /// This struct is generally created by calling [`chars()`][chars] on a reader.
1320
+ /// Please see the documentation of `chars()` for more details.
1321
+ ///
1322
+ /// [chars]: trait.Read.html#method.chars
1311
1323
#[ unstable( feature = "io" , reason = "awaiting stability of Read::chars" ) ]
1312
1324
pub struct Chars < R > {
1313
1325
inner : R ,
@@ -1389,7 +1401,10 @@ impl fmt::Display for CharsError {
1389
1401
/// An iterator over the contents of an instance of `BufRead` split on a
1390
1402
/// particular byte.
1391
1403
///
1392
- /// See `BufRead::split` for more information.
1404
+ /// This struct is generally created by calling [`split()`][split] on a
1405
+ /// `BufRead`. Please see the documentation of `split()` for more details.
1406
+ ///
1407
+ /// [split]: trait.BufRead.html#method.split
1393
1408
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1394
1409
pub struct Split < B > {
1395
1410
buf : B ,
@@ -1415,10 +1430,12 @@ impl<B: BufRead> Iterator for Split<B> {
1415
1430
}
1416
1431
}
1417
1432
1418
- /// An iterator over the lines of an instance of `BufRead` split on a newline
1419
- /// byte.
1433
+ /// An iterator over the lines of an instance of `BufRead`.
1434
+ ///
1435
+ /// This struct is generally created by calling [`lines()`][lines] on a
1436
+ /// `BufRead`. Please see the documentation of `lines()` for more details.
1420
1437
///
1421
- /// See `BufRead:: lines` for more information.
1438
+ /// [ lines]: trait.BufRead.html#method.lines
1422
1439
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1423
1440
pub struct Lines < B > {
1424
1441
buf : B ,
0 commit comments