mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-06 12:04:36 +00:00
Fix typos
This commit is contained in:
parent
8cfa7b4ec9
commit
db8b86b2df
@ -33,11 +33,11 @@ pub struct QueryInfo<Q> {
|
|||||||
|
|
||||||
pub(crate) type QueryMap<D, Q> = FxHashMap<QueryJobId<D>, QueryJobInfo<D, 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)]
|
#[derive(Copy, Clone, Eq, PartialEq, Hash)]
|
||||||
pub struct QueryShardJobId(pub NonZeroU32);
|
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)]
|
#[derive(Copy, Clone, Eq, PartialEq, Hash)]
|
||||||
pub struct QueryJobId<D> {
|
pub struct QueryJobId<D> {
|
||||||
/// Which job within a shard is this
|
/// 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
|
// 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();
|
let (waitee_query, waiter_idx) = waiter.unwrap();
|
||||||
|
|
||||||
// Extract the waiter we want to resume
|
// Extract the waiter we want to resume
|
||||||
|
Loading…
Reference in New Issue
Block a user