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! {
190190 The ordering of which value is yielded when two futures resolve
191191 simultaneously is intentionally left unspecified.
192192
193+ [`race`]: #method.race
194+
193195 # Examples
194196
195197 ```
Original file line number Diff line number Diff line change @@ -267,15 +267,15 @@ extension_trait! {
267267 This function returns a new instance of `Read` which will read at most
268268 `limit` bytes, after which it will always return EOF ([`Ok(0)`]). Any
269269 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.
271271
272272 # Examples
273273
274274 [`File`]s implement `Read`:
275275
276276 [`File`]: ../fs/struct.File.html
277277 [`Ok(0)`]: ../../std/result/enum.Result.html#variant.Ok
278- [`read() `]: tymethod.read
278+ [`read`]: tymethod.read
279279
280280 ```no_run
281281 # 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! {
15201520 standard library, used in a variety of contexts.
15211521
15221522 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,
15241524 do a bunch of transformations, and then `collect()` at the end.
15251525
15261526 Because `collect()` is so general, it can cause problems with type
@@ -1561,7 +1561,7 @@ extension_trait! {
15611561 # }) }
15621562 ```
15631563
1564- [`stream `]: trait.Stream .html#tymethod.next
1564+ [`into_stream `]: trait.IntoStream .html#tymethod.into_stream
15651565 "# ]
15661566 #[ cfg( feature = "unstable" ) ]
15671567 #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
You can’t perform that action at this time.
0 commit comments