]> git.lizzy.rs Git - rust.git/commitdiff
book: replace example I do not understand
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Fri, 23 Dec 2016 20:32:27 +0000 (22:32 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Fri, 23 Dec 2016 20:32:27 +0000 (22:32 +0200)
src/doc/book/documentation.md

index f30a95b4e7890bd89e9e333408408eca52fe369e..dafcffc39c802b0ff992fb4be06d8b9e5f86fcf2 100644 (file)
@@ -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