Skip to content

Commit

Permalink
Run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Jun 7, 2021
1 parent 6ad3389 commit 75ee1ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions compiler/rustc_query_system/src/query/caches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,7 @@ where
if let Some((_key, val, dep_node)) = &*lock {
Ok(on_hit(&val, *dep_node))
} else {
Err(QueryLookup {
key_hash: 0,
shard: 0
})
Err(QueryLookup { key_hash: 0, shard: 0 })
}
}

Expand Down
3 changes: 2 additions & 1 deletion compiler/rustc_query_system/src/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ pub use self::job::{print_query_stack, QueryInfo, QueryJob, QueryJobId, QueryJob

mod caches;
pub use self::caches::{
ArenaCacheSelector, CacheSelector, SingletonCacheSelector, DefaultCacheSelector, QueryCache, QueryStorage,
ArenaCacheSelector, CacheSelector, DefaultCacheSelector, QueryCache, QueryStorage,
SingletonCacheSelector,
};

mod config;
Expand Down

0 comments on commit 75ee1ed

Please sign in to comment.