Skip to content

Commit 0f67a7e

Browse files
committed
Pin versions to trigger lint correctly
1 parent f3e2ccd commit 0f67a7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/multiple_crate_versions.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ declare_clippy_lint! {
2121
///
2222
/// **Example:**
2323
/// ```toml
24-
/// # This will pull in both winapi v0.3.4 and v0.2.8, triggering a warning.
24+
/// # This will pull in both winapi v0.3.x and v0.2.x, triggering a warning.
2525
/// [dependencies]
26-
/// ctrlc = "3.1.0"
27-
/// ansi_term = "0.11.0"
26+
/// ctrlc = "=3.1.0"
27+
/// ansi_term = "=0.11.0"
2828
/// ```
2929
pub MULTIPLE_CRATE_VERSIONS,
3030
cargo,

0 commit comments

Comments
 (0)