Skip to content

Commit 639568c

Browse files
authored
Rollup merge of rust-lang#37956 - tshepang:patch-2, r=steveklabnik
book: replace example I do not understand
2 parents d86cf13 + d8ee074 commit 639568c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/book/documentation.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,9 @@ not actually pass as a test.
460460
```
461461

462462
The `no_run` attribute will compile your code, but not run it. This is
463-
important for examples such as "Here's how to start up a network service,"
464-
which you would want to make sure compile, but might run in an infinite loop!
463+
important for examples such as "Here's how to retrieve a web page,"
464+
which you would want to ensure compiles, but might be run in a test
465+
environment that has no network access.
465466

466467
### Documenting modules
467468

0 commit comments

Comments
 (0)