Skip to content

Commit 3ef620b

Browse files
committed
task_builder => builder in the docs
This example got left out for some reason.
1 parent 98b07dd commit 3ef620b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/rust.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,9 +1617,9 @@ is bounds-checked at run-time. When the check fails, it will put the
16171617
task in a _failing state_.
16181618

16191619
~~~~
1620-
# let builder = task::task_builder();
1621-
# task::unsupervise(builder);
1622-
# task::run(builder) {||
1620+
# let buildr = task::builder();
1621+
# task::unsupervise(buildr);
1622+
# task::run(buildr) {||
16231623
16241624
[1, 2, 3, 4][0];
16251625
[mut 'x', 'y'][1] = 'z';

0 commit comments

Comments
 (0)