Your project can optionally contain folders named `examples`, `tests`, and
`benches`, which Cargo will treat as containing examples,
-integration tests, and benchmarks respectively.
+integration tests, and benchmarks respectively. Analogous to `bin` targets, they
+may be composed of single files or directories with a `main.rs` file.
```shell
▾ src/ # directory containing source files
main.rs
▾ examples/ # (optional) examples
*.rs
+▾ */ # (optional) directories containing multi-file examples
+ main.rs
▾ tests/ # (optional) integration tests
*.rs
+▾ */ # (optional) directories containing multi-file tests
+ main.rs
▾ benches/ # (optional) benchmarks
*.rs
+▾ */ # (optional) directories containing multi-file benchmarks
+ main.rs
```
To structure your code after you've created the files and folders for your