]> git.lizzy.rs Git - rust.git/commitdiff
Minor changes on clippy_lints/src/wildcard_dependencies.rs
authorHidehito Yabuuchi <hdht.ybuc@gmail.com>
Wed, 24 Oct 2018 02:34:36 +0000 (11:34 +0900)
committerHidehito Yabuuchi <hdht.ybuc@gmail.com>
Wed, 24 Oct 2018 06:00:28 +0000 (15:00 +0900)
clippy_lints/src/wildcard_dependencies.rs

index 3045130231c99fde8800894d20a8c0a6aae9b3c7..e02501005e2ba05388e888b903db5675f84746ed 100644 (file)
@@ -25,6 +25,7 @@
 /// **Known problems:** None.
 ///
 /// **Example:**
+///
 /// ```toml
 /// [dependencies]
 /// regex = "*"
@@ -53,6 +54,7 @@ fn check_crate(&mut self, cx: &EarlyContext<'_>, krate: &Crate) {
         };
 
         lazy_static! {
+            // VersionReq::any() does not work
             static ref WILDCARD_VERSION_REQ: semver::VersionReq = semver::VersionReq::parse("*").unwrap();
         }