Clean up some wording around globs.

Globs used to be a feature you'd turn on, but now they're not, so this sounds
a bit odd.
This commit is contained in:
Steve Klabnik 2015-07-17 13:15:06 -04:00
parent b5dad7dcb2
commit d0e1b06fc0

View file

@ -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
}