]> git.lizzy.rs Git - rust.git/commitdiff
simply parse unknown json-strings as strings instead of erroring
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Mon, 6 Jun 2016 09:03:15 +0000 (11:03 +0200)
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Mon, 6 Jun 2016 09:03:15 +0000 (11:03 +0200)
clippy_lints/src/utils/cargo.rs

index c51cfc7304b7078561eeb4a1f8ba33cc5cad70f9..b183db84d57ec16c464694172352cf90769b62b5 100644 (file)
@@ -32,7 +32,7 @@ pub struct Dependency {
     optional: bool,
     uses_default_features: bool,
     features: Vec<String>,
-    target: Option<()>,
+    target: Option<String>,
 }
 
 #[derive(RustcDecodable, Debug)]