Skip to content

Commit 383ac29

Browse files
Add cargo-modules. Closes mainmatter#101
1 parent f358b71 commit 383ac29

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

book/src/03_ticket_v1/03_modules.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,10 @@ where each name comes from and potentially introducing name conflicts.\
112112
Nonetheless, it can be useful in some cases, like when writing unit tests. You might have noticed
113113
that most of our test modules start with a `use super::*;` statement to bring all the items from the parent module
114114
(the one being tested) into scope.
115+
116+
## Visualizing the module tree
117+
118+
If you're struggling to picture the module tree of your project, you can try using
119+
[`cargo-modules`](https://crates.io/crates/cargo-modules) to visualize it!
120+
121+
Refer to their documentation for installation instructions and usage examples.

0 commit comments

Comments
 (0)