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 0f9ee79 + c6c3f47 commit 1652d4aCopy full SHA for 1652d4a
src/doc/guide.md
@@ -3295,7 +3295,7 @@ fn times_four(x: int) -> int { x * 4 }
3295
#[cfg(test)]
3296
mod test {
3297
use super::add_three;
3298
- use super::add_four;
+ use super::times_four;
3299
3300
#[test]
3301
fn test_add_three() {
@@ -3344,7 +3344,7 @@ about yet, and that's these lines:
3344
3345
```{rust,ignore}
3346
3347
-use super::add_four;
+use super::times_four;
3348
```
3349
3350
Because we've made a nested module, we can import functions from the parent
0 commit comments