-
Notifications
You must be signed in to change notification settings - Fork 337
Conversation
@@ -1,3 +1,4 @@ | |||
#![allow(dead_code)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
normally would be against this type of hammer, but I think this is an appropriate nail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm confused is it a hammer or a nail 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -38,7 +38,7 @@ impl Package { | |||
|
|||
let package_json: String = fs::read_to_string(manifest_path.clone())?.parse()?; | |||
let package: Package = serde_json::from_str(&package_json) | |||
.expect(&format!("could not parse {:?}", manifest_path)); | |||
.unwrap_or_else(|_| panic!("could not parse {:?}", manifest_path)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, why did expect
cause these warnings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleaned up some clippy warnings that got past CI.