Skip to content

Commit

Permalink
Auto merge of rust-lang#8633 - xFrednet:8627-escape-mod-rs, r=Manishe…
Browse files Browse the repository at this point in the history
…arth

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
  • Loading branch information
bors committed Apr 4, 2022
2 parents 9fd1cde + 764dd13 commit 8ec7ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/module_style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::path::{Component, Path};

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

declare_clippy_lint! {
/// ### What it does
/// Checks that module layout uses only mod.rs files.
/// Checks that module layout uses only `mod.rs` files.
///
/// ### Why is this bad?
/// Having multiple module layout styles in a project can be confusing.
Expand Down

0 comments on commit 8ec7ba4

Please sign in to comment.