Skip to content

Commit 764dd13

Browse files
committed
Escape mod.rs file mentions to avoid links in our documentation
We can read them if they want to start sponsoring us xD
1 parent 190f0de commit 764dd13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/module_style.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::path::{Component, Path};
88

99
declare_clippy_lint! {
1010
/// ### What it does
11-
/// Checks that module layout uses only self named module files, bans mod.rs files.
11+
/// Checks that module layout uses only self named module files, bans `mod.rs` files.
1212
///
1313
/// ### Why is this bad?
1414
/// Having multiple module layout styles in a project can be confusing.
@@ -37,7 +37,7 @@ declare_clippy_lint! {
3737

3838
declare_clippy_lint! {
3939
/// ### What it does
40-
/// Checks that module layout uses only mod.rs files.
40+
/// Checks that module layout uses only `mod.rs` files.
4141
///
4242
/// ### Why is this bad?
4343
/// Having multiple module layout styles in a project can be confusing.

0 commit comments

Comments
 (0)