doc: Fix tutorial typo and remove unnecessary xfail-test
This commit is contained in:
parent
49e466f1e1
commit
0b6487cf2c
@ -220,7 +220,7 @@ let result = port.recv();
|
||||
The `Port` and `Chan` pair created by `stream` enables efficient communication
|
||||
between a single sender and a single receiver, but multiple senders cannot use
|
||||
a single `Chan`, and multiple receivers cannot use a single `Port`. What if our
|
||||
example needed to computer multiple results across a number of tasks? The
|
||||
example needed to compute multiple results across a number of tasks? The
|
||||
following program is ill-typed:
|
||||
|
||||
~~~ {.xfail-test}
|
||||
|
@ -2393,7 +2393,7 @@ override the name used to search for the crate.
|
||||
|
||||
Our example crate declared this set of `link` attributes:
|
||||
|
||||
~~~~ {.xfail-test}
|
||||
~~~~
|
||||
#[link(name = "farm", vers = "2.5", author = "mjh")];
|
||||
~~~~
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user