mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-02-02 09:46:06 +00:00
correct spelling, add spacing between fields
This commit is contained in:
parent
b411d51a05
commit
067e478e48
1 changed files with 3 additions and 1 deletions
|
@ -92,6 +92,7 @@ where
|
|||
/// Last time the value has actually changed.
|
||||
/// changed_at can be less than verified_at.
|
||||
changed_at: Revision,
|
||||
|
||||
/// The result of the query, if we decide to memoize it.
|
||||
value: Option<Q::Value>,
|
||||
|
||||
|
@ -152,7 +153,8 @@ where
|
|||
key,
|
||||
m.verified_at,
|
||||
);
|
||||
// We've found that the query is defenitelly up-to-date.
|
||||
|
||||
// We've found that the query is definitely up-to-date.
|
||||
// If the value is also memoized, return it.
|
||||
// Otherwise fallback to recomputing the value.
|
||||
if m.verified_at == revision_now {
|
||||
|
|
Loading…
Reference in a new issue