diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-01-25 17:08:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-25 17:08:20 +0100 |
| commit | a2fa75b70546baa160be2a00326fa1b08d699b4c (patch) | |
| tree | 60c257c4000f019544f94929faf63a2fcc48e56b /src | |
| parent | e305b9982118858c815fd5b34f795f731532f089 (diff) | |
| parent | c4c86dd04ccf6e9a6ac9282ecb9bb42e13ea5dad (diff) | |
| download | rust-a2fa75b70546baa160be2a00326fa1b08d699b4c.tar.gz rust-a2fa75b70546baa160be2a00326fa1b08d699b4c.zip | |
Rollup merge of #39278 - das-g:patch-1, r=steveklabnik
fix book: refer to `add_two` as "tested function" refer to `add_two` as "tested function" rather than "test function", which would be `it_works`
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/book/testing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/testing.md b/src/doc/book/testing.md index 96cec7295aa..940367b3971 100644 --- a/src/doc/book/testing.md +++ b/src/doc/book/testing.md @@ -384,7 +384,7 @@ currently trying to run the tests. This can save compile time, and also ensures that our tests are entirely left out of a normal build. The second change is the `use` declaration. Because we're in an inner module, -we need to bring our test function into scope. This can be annoying if you have +we need to bring the tested function into scope. This can be annoying if you have a large module, and so this is a common use of globs. Let's change our `src/lib.rs` to make use of it: |
