mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-02-03 18:47:53 +00:00
s/verify_value/mark_value_as_verified/
This commit is contained in:
parent
87f8517d75
commit
e4b822cca4
1 changed files with 3 additions and 3 deletions
|
@ -654,7 +654,7 @@ where
|
|||
);
|
||||
|
||||
if self.check_durability(db) {
|
||||
return Some(self.verify_value(revision_now));
|
||||
return Some(self.mark_value_as_verified(revision_now));
|
||||
}
|
||||
|
||||
match &mut self.inputs {
|
||||
|
@ -693,10 +693,10 @@ where
|
|||
}
|
||||
};
|
||||
|
||||
Some(self.verify_value(revision_now))
|
||||
Some(self.mark_value_as_verified(revision_now))
|
||||
}
|
||||
|
||||
fn verify_value(&mut self, revision_now: Revision) -> StampedValue<Q::Value> {
|
||||
fn mark_value_as_verified(&mut self, revision_now: Revision) -> StampedValue<Q::Value> {
|
||||
let value = match &self.value {
|
||||
Some(v) => v.clone(),
|
||||
None => panic!("invoked `verify_value` without a value!"),
|
||||
|
|
Loading…
Reference in a new issue