Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d0e1b06

Browse files
committedJul 17, 2015
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.
1 parent b5dad7d commit d0e1b06

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎src/doc/trpl/testing.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,10 @@ that our tests are entirely left out of a normal build.
250250

251251
The second change is the `use` declaration. Because we're in an inner module,
252252
we need to bring our test function into scope. This can be annoying if you have
253-
a large module, and so this is a common use of the `glob` feature. Let's change
254-
our `src/lib.rs` to make use of it:
253+
a large module, and so this is a common use of globs. Let's change our
254+
`src/lib.rs` to make use of it:
255255

256256
```rust,ignore
257-
258257
pub fn add_two(a: i32) -> i32 {
259258
a + 2
260259
}

0 commit comments

Comments
 (0)
Please sign in to comment.