We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e500b80 commit 74639a1Copy full SHA for 74639a1
src/evaluate.rs
@@ -204,11 +204,10 @@ impl Toggle {
204
}
205
206
match self.check_prerequisites(eval_param, max_deep) {
207
- Ok(is_pass) => {
208
- if !is_pass {
209
- return Ok(self.default_variation(eval_param, None));
210
- }
+ Ok(is_match) if !is_match => {
+ return Ok(self.default_variation(eval_param, None));
211
+ Ok(_is_match) => {}
212
Err(e) => return Err(e),
213
214
0 commit comments