From 0f67a7ecb5822a0ec5bdb5ebad50091e20074247 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sat, 1 Feb 2020 20:11:32 +0900 Subject: [PATCH] Pin versions to trigger lint correctly --- clippy_lints/src/multiple_crate_versions.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clippy_lints/src/multiple_crate_versions.rs b/clippy_lints/src/multiple_crate_versions.rs index 0b9e46978c8..d07b21bfa99 100644 --- a/clippy_lints/src/multiple_crate_versions.rs +++ b/clippy_lints/src/multiple_crate_versions.rs @@ -21,10 +21,10 @@ declare_clippy_lint! { /// /// **Example:** /// ```toml - /// # This will pull in both winapi v0.3.4 and v0.2.8, triggering a warning. + /// # This will pull in both winapi v0.3.x and v0.2.x, triggering a warning. /// [dependencies] - /// ctrlc = "3.1.0" - /// ansi_term = "0.11.0" + /// ctrlc = "=3.1.0" + /// ansi_term = "=0.11.0" /// ``` pub MULTIPLE_CRATE_VERSIONS, cargo,