Add `cargo-modules`. Closes #101
This commit is contained in:
parent
2f067058ce
commit
3f4d31148f
|
@ -112,3 +112,10 @@ where each name comes from and potentially introducing name conflicts.\
|
||||||
Nonetheless, it can be useful in some cases, like when writing unit tests. You might have noticed
|
Nonetheless, it can be useful in some cases, like when writing unit tests. You might have noticed
|
||||||
that most of our test modules start with a `use super::*;` statement to bring all the items from the parent module
|
that most of our test modules start with a `use super::*;` statement to bring all the items from the parent module
|
||||||
(the one being tested) into scope.
|
(the one being tested) into scope.
|
||||||
|
|
||||||
|
## Visualizing the module tree
|
||||||
|
|
||||||
|
If you're struggling to picture the module tree of your project, you can try using
|
||||||
|
[`cargo-modules`](https://crates.io/crates/cargo-modules) to visualize it!
|
||||||
|
|
||||||
|
Refer to their documentation for installation instructions and usage examples.
|
Loading…
Reference in New Issue