File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,8 @@ pub fn main() {
179
179
180
180
let manifest_path_arg = std:: env:: args ( ) . skip ( 2 ) . find ( |val| val. starts_with ( "--manifest-path=" ) ) ;
181
181
182
- let mut metadata = if let Ok ( metadata) = cargo_metadata:: metadata ( manifest_path_arg. as_ref ( ) . map ( AsRef :: as_ref) ) {
182
+ let mut metadata = if let Ok ( metadata) = cargo_metadata:: metadata ( manifest_path_arg. as_ref ( )
183
+ . map ( AsRef :: as_ref) ) {
183
184
metadata
184
185
} else {
185
186
let _ = io:: stderr ( ) . write_fmt ( format_args ! ( "error: Could not obtain cargo metadata." ) ) ;
Original file line number Diff line number Diff line change 1
1
#![ feature( plugin) ]
2
2
#![ plugin( clippy) ]
3
3
4
- #[ macro_use] extern crate serde_derive;
4
+ #[ macro_use]
5
+ extern crate serde_derive;
5
6
6
7
/// Test that we do not lint for unused underscores in a `MacroAttribute` expansion
7
8
#[ deny( used_underscore_binding) ]
You can’t perform that action at this time.
0 commit comments