You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-15 13:50:27 +02:00
Add directory tree to mod exercise solution (#1602)
The solution to the modules exercise comes with a bunch of files. I think it would help the students to get a quick overview of the directory structure we've chosen first.
This commit is contained in:
committed by
GitHub
parent
e60f56e8f2
commit
0f0596da9d
@ -16,6 +16,16 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
```ignore
|
||||||
|
src
|
||||||
|
├── main.rs
|
||||||
|
├── widgets
|
||||||
|
│ ├── button.rs
|
||||||
|
│ ├── label.rs
|
||||||
|
│ └── window.rs
|
||||||
|
└── widgets.rs
|
||||||
|
```
|
||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
// ---- src/widgets.rs ----
|
// ---- src/widgets.rs ----
|
||||||
mod button;
|
mod button;
|
||||||
|
Reference in New Issue
Block a user