diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-12-24 14:29:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-24 14:29:19 -0500 |
| commit | 639568cb07b37388248f0a170c30bc98b03e2e4d (patch) | |
| tree | 3ce26f0934902ee513805e3d2d1c2daea5947f97 | |
| parent | d86cf13316a885dbc78fc33becbc718c6ff3468c (diff) | |
| parent | d8ee0745f734231edb16441776a60c33dae317c2 (diff) | |
| download | rust-639568cb07b37388248f0a170c30bc98b03e2e4d.tar.gz rust-639568cb07b37388248f0a170c30bc98b03e2e4d.zip | |
Rollup merge of #37956 - tshepang:patch-2, r=steveklabnik
book: replace example I do not understand
| -rw-r--r-- | src/doc/book/documentation.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/book/documentation.md b/src/doc/book/documentation.md index f30a95b4e78..dafcffc39c8 100644 --- a/src/doc/book/documentation.md +++ b/src/doc/book/documentation.md @@ -460,8 +460,9 @@ not actually pass as a test. ``` The `no_run` attribute will compile your code, but not run it. This is -important for examples such as "Here's how to start up a network service," -which you would want to make sure compile, but might run in an infinite loop! +important for examples such as "Here's how to retrieve a web page," +which you would want to ensure compiles, but might be run in a test +environment that has no network access. ### Documenting modules |
