We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2d23ad commit 3f4aa9bCopy full SHA for 3f4aa9b
clippy_lints/src/cargo/mod.rs
@@ -161,6 +161,15 @@ declare_clippy_lint! {
161
/// [dependencies]
162
/// regex = "*"
163
/// ```
164
+ /// Use instead:
165
+ /// ```toml
166
+ /// [dependencies]
167
+ /// # allow patch updates, but not minor or major version changes
168
+ /// some_crate_1 = "~1.2.3"
169
+ ///
170
+ /// # pin the version to a specific version
171
+ /// some_crate_2 = "=1.2.3"
172
+ /// ```
173
#[clippy::version = "1.32.0"]
174
pub WILDCARD_DEPENDENCIES,
175
cargo,
0 commit comments