Skip to content

Commit fa6c9f8

Browse files
committed
Minor changes on clippy_lints/src/wildcard_dependencies.rs
1 parent 0263ddd commit fa6c9f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clippy_lints/src/wildcard_dependencies.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ use semver;
2525
/// **Known problems:** None.
2626
///
2727
/// **Example:**
28+
///
2829
/// ```toml
2930
/// [dependencies]
3031
/// regex = "*"
@@ -53,6 +54,7 @@ impl EarlyLintPass for Pass {
5354
};
5455

5556
lazy_static! {
57+
// VersionReq::any() does not work
5658
static ref WILDCARD_VERSION_REQ: semver::VersionReq = semver::VersionReq::parse("*").unwrap();
5759
}
5860

0 commit comments

Comments
 (0)