Skip to content

Commit

Permalink
Rollup merge of rust-lang#37956 - tshepang:patch-2, r=steveklabnik
Browse files Browse the repository at this point in the history
book: replace example I do not understand
  • Loading branch information
steveklabnik authored Dec 24, 2016
2 parents d86cf13 + d8ee074 commit 639568c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/doc/book/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 639568c

Please sign in to comment.