Skip to content

Commit 08dec89

Browse files
committed
Remove an out-of-date comment on QueryCache::lookup.
1 parent 44bfb65 commit 08dec89

File tree

1 file changed

+0
-3
lines changed
  • compiler/rustc_query_system/src/query

1 file changed

+0
-3
lines changed

compiler/rustc_query_system/src/query/caches.rs

-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ pub trait QueryCache: Sized {
2121
type Value: Copy + Debug;
2222

2323
/// Checks if the query is already computed and in the cache.
24-
/// It returns the shard index and a lock guard to the shard,
25-
/// which will be used if the query is not in the cache and we need
26-
/// to compute it.
2724
fn lookup(&self, key: &Self::Key) -> Option<(Self::Value, DepNodeIndex)>;
2825

2926
fn complete(&self, key: Self::Key, value: Self::Value, index: DepNodeIndex);

0 commit comments

Comments
 (0)