mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-23 13:10:19 +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
|
let maybe_changed = inputs
|
||||||
.iter()
|
.iter()
|
||||||
.flat_map(|inputs| 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| {
|
.inspect(|input| {
|
||||||
debug!(
|
debug!(
|
||||||
"{:?}({:?}): input `{:?}` may have changed",
|
"{:?}({:?}): input `{:?}` may have changed",
|
||||||
|
@ -1042,7 +1042,7 @@ where
|
||||||
MemoInputs::Tracked { inputs } => {
|
MemoInputs::Tracked { inputs } => {
|
||||||
let changed_input = inputs
|
let changed_input = inputs
|
||||||
.iter()
|
.iter()
|
||||||
.take_while(|input| input.maybe_changed_since(db, verified_at))
|
.filter(|input| input.maybe_changed_since(db, verified_at))
|
||||||
.next();
|
.next();
|
||||||
|
|
||||||
if let Some(input) = changed_input {
|
if let Some(input) = changed_input {
|
||||||
|
|
Loading…
Reference in a new issue