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(
610610 if let Some ( ( parent, dep) ) = parent {
611611 let parent_pid = parent. package_id ( ) ;
612612 // 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 ( ) ) ;
616617 if let Some ( public_dependency) = cx. public_dependency . as_mut ( ) {
617618 public_dependency. add_edge (
618619 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
273273 & self ,
274274 pkg : PackageId ,
275275 ) -> 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) )
279277 }
280278
281279 pub fn replacement ( & self , pkg : PackageId ) -> Option < PackageId > {
You can’t perform that action at this time.
0 commit comments