File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -610,9 +610,10 @@ fn activate(
610
610
if let Some ( ( parent, dep) ) = parent {
611
611
let parent_pid = parent. package_id ( ) ;
612
612
// add a edge from candidate to parent in the parents graph
613
- cx. parents . link ( candidate_pid, parent_pid)
614
- // and associate dep with that edge
615
- . insert ( dep. clone ( ) ) ;
613
+ cx. parents
614
+ . link ( candidate_pid, parent_pid)
615
+ // and associate dep with that edge
616
+ . insert ( dep. clone ( ) ) ;
616
617
if let Some ( public_dependency) = cx. public_dependency . as_mut ( ) {
617
618
public_dependency. add_edge (
618
619
candidate_pid,
Original file line number Diff line number Diff line change @@ -273,9 +273,7 @@ unable to verify that `{0}` is the same as when the lockfile was generated
273
273
& self ,
274
274
pkg : PackageId ,
275
275
) -> impl Iterator < Item = ( PackageId , & HashSet < Dependency > ) > {
276
- self . graph
277
- . edges ( & pkg)
278
- . map ( |( id, deps) | ( * id, deps) )
276
+ self . graph . edges ( & pkg) . map ( |( id, deps) | ( * id, deps) )
279
277
}
280
278
281
279
pub fn replacement ( & self , pkg : PackageId ) -> Option < PackageId > {
You can’t perform that action at this time.
0 commit comments