Skip to content

Commit 8ec7ba4

Browse files
committed
Auto merge of rust-lang#8633 - xFrednet:8627-escape-mod-rs, r=Manishearth
Escape `mod.rs` file mentions to avoid links in our documentation As the title says nothing special, still a fun fix :) Closes: rust-lang#8627 changelog: none
2 parents 9fd1cde + 764dd13 commit 8ec7ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/module_style.rs

+2-2
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)