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.
1 parent b5dad7d commit d0e1b06Copy full SHA for d0e1b06
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