Fix pattern move error on stable
This commit is contained in:
parent
641e87a0b6
commit
27e5e447c7
1 changed files with 7 additions and 2 deletions
|
@ -196,8 +196,13 @@ where
|
|||
|
||||
for o in iter {
|
||||
match executor.resolve(info, &o) {
|
||||
Ok(value) if stop_on_null && value.is_null() => return Ok(value),
|
||||
Ok(value) => result.push(value),
|
||||
Ok(value) => {
|
||||
if stop_on_null && value.is_null() {
|
||||
return Ok(value);
|
||||
} else {
|
||||
result.push(value)
|
||||
}
|
||||
}
|
||||
Err(e) => return Err(e),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue