Skip to content

Commit

Permalink
Auto merge of #5119 - JohnTitor:tweak-doc, r=flip1995
Browse files Browse the repository at this point in the history
Tweak documentation in `multiple_crate_versions`

This example isn't reproducible now since `ctrlc` upgrades `winapi` to `0.3.x` in `3.1.1`. We should pin their versions to trigger lint correctly.

changelog: none
  • Loading branch information
bors committed Feb 2, 2020
2 parents ea85b4c + 0f67a7e commit c6b87ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clippy_lints/src/multiple_crate_versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c6b87ef

Please sign in to comment.