We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ea8778 + d0e1b06 commit 99987a8Copy full SHA for 99987a8
src/doc/trpl/testing.md
@@ -250,11 +250,10 @@ that our tests are entirely left out of a normal build.
250
251
The second change is the `use` declaration. Because we're in an inner module,
252
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:
+a large module, and so this is a common use of globs. Let's change our
+`src/lib.rs` to make use of it:
255
256
```rust,ignore
257
-
258
pub fn add_two(a: i32) -> i32 {
259
a + 2
260
}
0 commit comments