File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -678,7 +678,9 @@ impl<'cfg> Registry for PackageRegistry<'cfg> {
678
678
// the summaries it gives us though.
679
679
( Some ( override_summary) , Some ( source) ) => {
680
680
if !patches. is_empty ( ) {
681
- return Poll :: Ready ( Err ( anyhow:: anyhow!( "found patches and a path override" ) ) )
681
+ return Poll :: Ready ( Err ( anyhow:: anyhow!(
682
+ "found patches and a path override"
683
+ ) ) ) ;
682
684
}
683
685
let mut n = 0 ;
684
686
let mut to_warn = None ;
@@ -703,7 +705,9 @@ impl<'cfg> Registry for PackageRegistry<'cfg> {
703
705
} ;
704
706
705
707
if n > 1 {
706
- return Poll :: Ready ( Err ( anyhow:: anyhow!( "found an override with a non-locked list" ) ) )
708
+ return Poll :: Ready ( Err ( anyhow:: anyhow!(
709
+ "found an override with a non-locked list"
710
+ ) ) ) ;
707
711
} else if let Some ( summary) = to_warn {
708
712
self . warn_bad_override ( & override_summary, & summary) ?;
709
713
}
@@ -874,7 +878,7 @@ fn summary_for_patch(
874
878
orig_patch. source_id( ) ,
875
879
versions. join( ", " ) ,
876
880
versions. last( ) . unwrap( )
877
- ) ) )
881
+ ) ) ) ;
878
882
}
879
883
assert ! ( summaries. is_empty( ) ) ;
880
884
// No summaries found, try to help the user figure out what is wrong.
You can’t perform that action at this time.
0 commit comments