diff --git a/src/doc/src/guide/project-layout.md b/src/doc/src/guide/project-layout.md index c4360af019c..330eeeb36fb 100644 --- a/src/doc/src/guide/project-layout.md +++ b/src/doc/src/guide/project-layout.md @@ -48,6 +48,8 @@ files, place a `main.rs` file along with the extra [*modules*][def-module] within a subdirectory of the `src/bin`, `examples`, `benches`, or `tests` directory. The name of the executable will be the directory name. +Binaries, examples, benches and integration tests follow `kebab-case` naming style. Modules within those targets are `snake_case` following the [Rust standard](https://rust-lang.github.io/rfcs/0430-finalizing-naming-conventions.html). + You can learn more about Rust's module system in [the book][book-modules]. See [Configuring a target] for more details on manually configuring targets.