about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-04 20:35:44 +0000
committerbors <bors@rust-lang.org>2022-04-04 20:35:44 +0000
commit8ec7ba44bd558cd7e6d6209f3feab9e0c6ee742f (patch)
treef0b5203f6c77645f5389702ebf3fcda059d0c403
parent9fd1cdeada90df39a65249c767e3e726d7df6bd9 (diff)
parent764dd1360f1fb1540778592a36fefe71f713ca83 (diff)
downloadrust-8ec7ba44bd558cd7e6d6209f3feab9e0c6ee742f.tar.gz
rust-8ec7ba44bd558cd7e6d6209f3feab9e0c6ee742f.zip
Auto merge of #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: #8627

changelog: none
-rw-r--r--clippy_lints/src/module_style.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/module_style.rs b/clippy_lints/src/module_style.rs
index 39c44ad6e2c..0a393657267 100644
--- a/clippy_lints/src/module_style.rs
+++ b/clippy_lints/src/module_style.rs
@@ -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.
@@ -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.