mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-23 05:07:27 +00:00
revert take_while changes, which were just .. wrong
This commit is contained in:
parent
f9fe9e4f07
commit
9689d4471b
1 changed files with 2 additions and 2 deletions
|
@ -846,7 +846,7 @@ where
|
|||
let maybe_changed = inputs
|
||||
.iter()
|
||||
.flat_map(|inputs| inputs.iter())
|
||||
.take_while(|input| input.maybe_changed_since(db, revision))
|
||||
.filter(|input| input.maybe_changed_since(db, revision))
|
||||
.inspect(|input| {
|
||||
debug!(
|
||||
"{:?}({:?}): input `{:?}` may have changed",
|
||||
|
@ -1042,7 +1042,7 @@ where
|
|||
MemoInputs::Tracked { inputs } => {
|
||||
let changed_input = inputs
|
||||
.iter()
|
||||
.take_while(|input| input.maybe_changed_since(db, verified_at))
|
||||
.filter(|input| input.maybe_changed_since(db, verified_at))
|
||||
.next();
|
||||
|
||||
if let Some(input) = changed_input {
|
||||
|
|
Loading…
Reference in a new issue