mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Pin versions to trigger lint correctly
This commit is contained in:
parent
f3e2ccd54e
commit
0f67a7ecb5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user