about summary refs log tree commit diff
path: root/clippy_lints/src/multiple_crate_versions.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/multiple_crate_versions.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/multiple_crate_versions.rs')
-rw-r--r--clippy_lints/src/multiple_crate_versions.rs11
1 files changed, 7 insertions, 4 deletions
diff --git a/clippy_lints/src/multiple_crate_versions.rs b/clippy_lints/src/multiple_crate_versions.rs
index f5ce3e32551..1c61970fdc8 100644
--- a/clippy_lints/src/multiple_crate_versions.rs
+++ b/clippy_lints/src/multiple_crate_versions.rs
@@ -13,17 +13,20 @@ use if_chain::if_chain;
 use itertools::Itertools;
 
 declare_clippy_lint! {
-    /// **What it does:** Checks to see if multiple versions of a crate are being
+    /// ### What it does
+    /// Checks to see if multiple versions of a crate are being
     /// used.
     ///
-    /// **Why is this bad?** This bloats the size of targets, and can lead to
+    /// ### Why is this bad?
+    /// This bloats the size of targets, and can lead to
     /// confusing error messages when structs or traits are used interchangeably
     /// between different versions of a crate.
     ///
-    /// **Known problems:** Because this can be caused purely by the dependencies
+    /// ### Known problems
+    /// Because this can be caused purely by the dependencies
     /// themselves, it's not always possible to fix this issue.
     ///
-    /// **Example:**
+    /// ### Example
     /// ```toml
     /// # This will pull in both winapi v0.3.x and v0.2.x, triggering a warning.
     /// [dependencies]