about summary refs log tree commit diff
path: root/clippy_lints/src/main_recursion.rs
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2021-07-29 11:14:25 +0200
committerflip1995 <philipp.krones@embecosm.com>2021-07-29 11:14:25 +0200
commit490beda6be3b45f419b2beb294f86e13754b91f9 (patch)
tree6488de5867abe18648b4418fccfb41b6fe080c2c /clippy_lints/src/main_recursion.rs
parent5331fea87543eee06da7eef9f9854e89e9b5c7f3 (diff)
parent92ca25b3ec8cef291f1d3b37bfd01d3cce8609e2 (diff)
downloadrust-490beda6be3b45f419b2beb294f86e13754b91f9.tar.gz
rust-490beda6be3b45f419b2beb294f86e13754b91f9.zip
Merge remote-tracking branch 'upstream/master' into rustup
Diffstat (limited to 'clippy_lints/src/main_recursion.rs')
-rw-r--r--clippy_lints/src/main_recursion.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/clippy_lints/src/main_recursion.rs b/clippy_lints/src/main_recursion.rs
index 07d8a440aea..776e4b3fe76 100644
--- a/clippy_lints/src/main_recursion.rs
+++ b/clippy_lints/src/main_recursion.rs
@@ -7,14 +7,14 @@ use rustc_lint::{LateContext, LateLintPass};
 use rustc_session::{declare_tool_lint, impl_lint_pass};
 
 declare_clippy_lint! {
-    /// **What it does:** Checks for recursion using the entrypoint.
+    /// ### What it does
+    /// Checks for recursion using the entrypoint.
     ///
-    /// **Why is this bad?** Apart from special setups (which we could detect following attributes like #![no_std]),
+    /// ### Why is this bad?
+    /// Apart from special setups (which we could detect following attributes like #![no_std]),
     /// recursing into main() seems like an unintuitive antipattern we should be able to detect.
     ///
-    /// **Known problems:** None.
-    ///
-    /// **Example:**
+    /// ### Example
     /// ```no_run
     /// fn main() {
     ///     main();