File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ pub enum PubGrubError<P: Package, V: Version> {
68
68
/// Error arising when the implementer of [DependencyProvider](crate::solver::DependencyProvider)
69
69
/// returned an error in the method [should_cancel](crate::solver::DependencyProvider::should_cancel).
70
70
#[ error( "We should cancel" ) ]
71
- ErrorShouldCancel ( Box < dyn std:: error:: Error > ) ,
71
+ ErrorInShouldCancel ( Box < dyn std:: error:: Error > ) ,
72
72
73
73
/// Something unexpected happened.
74
74
#[ error( "{0}" ) ]
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ pub fn resolve<P: Package, V: Version>(
90
90
loop {
91
91
dependency_provider
92
92
. should_cancel ( )
93
- . map_err ( |err| PubGrubError :: ErrorShouldCancel ( err) ) ?;
93
+ . map_err ( |err| PubGrubError :: ErrorInShouldCancel ( err) ) ?;
94
94
95
95
state. unit_propagation ( next) ?;
96
96
You can’t perform that action at this time.
0 commit comments