]> git.lizzy.rs Git - rust.git/commitdiff
Escape `mod.rs` file mentions to avoid links in our documentation
authorxFrednet <xFrednet@gmail.com>
Mon, 4 Apr 2022 19:06:53 +0000 (21:06 +0200)
committerxFrednet <xFrednet@gmail.com>
Mon, 4 Apr 2022 19:08:29 +0000 (21:08 +0200)
We can read them if they want to start sponsoring us xD

clippy_lints/src/module_style.rs

index 39c44ad6e2cb47ab3e11fe17fe9809abb767a357..0a393657267b07833371498eb52b5015faf8c874 100644 (file)
@@ -8,7 +8,7 @@
 
 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! {
     /// ### 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.