From 764dd1360f1fb1540778592a36fefe71f713ca83 Mon Sep 17 00:00:00 2001 From: xFrednet Date: Mon, 4 Apr 2022 21:06:53 +0200 Subject: [PATCH] Escape `mod.rs` file mentions to avoid links in our documentation We can read them if they want to start sponsoring us xD --- clippy_lints/src/module_style.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/module_style.rs b/clippy_lints/src/module_style.rs index 39c44ad6e2cb..0a393657267b 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.