From 3f4d31148f50fa6e188b2f4f041eebea47feed72 Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:56:43 +0200 Subject: [PATCH] Add `cargo-modules`. Closes #101 --- book/src/03_ticket_v1/03_modules.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/book/src/03_ticket_v1/03_modules.md b/book/src/03_ticket_v1/03_modules.md index ee801fd..6890639 100644 --- a/book/src/03_ticket_v1/03_modules.md +++ b/book/src/03_ticket_v1/03_modules.md @@ -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 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. + +## 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. \ No newline at end of file -- 2.45.2