diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-07-18 08:13:16 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-07-18 08:13:16 +0530 |
| commit | 99987a82b6977517d0bdf358fd97e2fca305d8fe (patch) | |
| tree | 997266386cda1b5ef03e642eb15eab08af01d3dc /src | |
| parent | 2ea87785becef1b0d031c9fe40c7ae17717e3b76 (diff) | |
| parent | d0e1b06fc0d20d1a6a0a2213134bcc84658e96a0 (diff) | |
| download | rust-99987a82b6977517d0bdf358fd97e2fca305d8fe.tar.gz rust-99987a82b6977517d0bdf358fd97e2fca305d8fe.zip | |
Rollup merge of #27091 - steveklabnik:doc_tests_glob, r=Gankro
Globs used to be a feature you'd turn on, but now they're not, so this sounds a bit odd.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/testing.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/doc/trpl/testing.md b/src/doc/trpl/testing.md index 759543140b5..a5a0127031a 100644 --- a/src/doc/trpl/testing.md +++ b/src/doc/trpl/testing.md @@ -250,11 +250,10 @@ 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 -a large module, and so this is a common use of the `glob` feature. Let's change -our `src/lib.rs` to make use of it: +a large module, and so this is a common use of globs. Let's change our +`src/lib.rs` to make use of it: ```rust,ignore - pub fn add_two(a: i32) -> i32 { a + 2 } |
