diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-11-21 19:44:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-21 19:44:16 +0100 |
| commit | 96ec5d299b81e8ffdff4b14bd8d382c96a06820b (patch) | |
| tree | c567107aab723103ca576504b34997d02d45e239 /compiler | |
| parent | 3958ceccacb5d07c2aa6546ffe6b3978100fd18b (diff) | |
| parent | db8b86b2df5646b00278720187a460a0027b107f (diff) | |
| download | rust-96ec5d299b81e8ffdff4b14bd8d382c96a06820b.tar.gz rust-96ec5d299b81e8ffdff4b14bd8d382c96a06820b.zip | |
Rollup merge of #79256 - bugadani:query-typo, r=jonas-schievink
Fix typos
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_query_system/src/query/job.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_query_system/src/query/job.rs b/compiler/rustc_query_system/src/query/job.rs index c1d3210b617..5fed500390b 100644 --- a/compiler/rustc_query_system/src/query/job.rs +++ b/compiler/rustc_query_system/src/query/job.rs @@ -33,11 +33,11 @@ pub struct QueryInfo<Q> { pub(crate) type QueryMap<D, Q> = FxHashMap<QueryJobId<D>, QueryJobInfo<D, Q>>; -/// A value uniquely identifiying an active query job within a shard in the query cache. +/// A value uniquely identifying an active query job within a shard in the query cache. #[derive(Copy, Clone, Eq, PartialEq, Hash)] pub struct QueryShardJobId(pub NonZeroU32); -/// A value uniquely identifiying an active query job. +/// A value uniquely identifying an active query job. #[derive(Copy, Clone, Eq, PartialEq, Hash)] pub struct QueryJobId<D> { /// Which job within a shard is this @@ -536,7 +536,7 @@ fn remove_cycle<CTX: QueryContext>( }; // We unwrap `waiter` here since there must always be one - // edge which is resumeable / waited using a query latch + // edge which is resumable / waited using a query latch let (waitee_query, waiter_idx) = waiter.unwrap(); // Extract the waiter we want to resume |
