File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,8 @@ extension_trait! {
190
190
The ordering of which value is yielded when two futures resolve
191
191
simultaneously is intentionally left unspecified.
192
192
193
+ [`race`]: #method.race
194
+
193
195
# Examples
194
196
195
197
```
Original file line number Diff line number Diff line change @@ -267,15 +267,15 @@ extension_trait! {
267
267
This function returns a new instance of `Read` which will read at most
268
268
`limit` bytes, after which it will always return EOF ([`Ok(0)`]). Any
269
269
read errors will not count towards the number of bytes read and future
270
- calls to [`read() `] may succeed.
270
+ calls to [`read`] may succeed.
271
271
272
272
# Examples
273
273
274
274
[`File`]s implement `Read`:
275
275
276
276
[`File`]: ../fs/struct.File.html
277
277
[`Ok(0)`]: ../../std/result/enum.Result.html#variant.Ok
278
- [`read() `]: tymethod.read
278
+ [`read`]: tymethod.read
279
279
280
280
```no_run
281
281
# fn main() -> std::io::Result<()> { async_std::task::block_on(async {
Original file line number Diff line number Diff line change @@ -1520,7 +1520,7 @@ extension_trait! {
1520
1520
standard library, used in a variety of contexts.
1521
1521
1522
1522
The most basic pattern in which `collect()` is used is to turn one
1523
- collection into another. You take a collection, call [`stream `] on it,
1523
+ collection into another. You take a collection, call [`into_stream `] on it,
1524
1524
do a bunch of transformations, and then `collect()` at the end.
1525
1525
1526
1526
Because `collect()` is so general, it can cause problems with type
@@ -1561,7 +1561,7 @@ extension_trait! {
1561
1561
# }) }
1562
1562
```
1563
1563
1564
- [`stream `]: trait.Stream .html#tymethod.next
1564
+ [`into_stream `]: trait.IntoStream .html#tymethod.into_stream
1565
1565
"# ]
1566
1566
#[ cfg( feature = "unstable" ) ]
1567
1567
#[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
You can’t perform that action at this time.
0 commit comments