Auto merge of #82197 - tmiasko:try-get-cached, r=cjgillot

Inline try_get_cached
This commit is contained in:
bors 2021-02-17 04:07:35 +00:00
commit ee88f46bb5
1 changed files with 1 additions and 0 deletions

View File

@ -385,6 +385,7 @@ where
/// It returns the shard index and a lock guard to the shard,
/// which will be used if the query is not in the cache and we need
/// to compute it.
#[inline]
pub fn try_get_cached<'a, CTX, C, R, OnHit>(
tcx: CTX,
cache: &'a QueryCacheStore<C>,