Skip to content

Commit

Permalink
Auto merge of #16646 - cuishuang:master, r=lnicola
Browse files Browse the repository at this point in the history
remove repetitive words
  • Loading branch information
bors committed Feb 23, 2024
2 parents 6648f19 + 6dca794 commit deddea0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/hir-ty/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub trait HirDatabase: DefDatabase + Upcast<dyn DefDatabase> {
#[salsa::cycle(crate::lower::ty_recover)]
fn ty(&self, def: TyDefId) -> Binders<Ty>;

/// Returns the type of the value of the given constant, or `None` if the the `ValueTyDefId` is
/// Returns the type of the value of the given constant, or `None` if the `ValueTyDefId` is
/// a `StructId` or `EnumVariantId` with a record constructor.
#[salsa::invoke(crate::lower::value_ty_query)]
fn value_ty(&self, def: ValueTyDefId) -> Option<Binders<Ty>>;
Expand Down
2 changes: 1 addition & 1 deletion crates/salsa/src/runtime/dependency_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type QueryStack = Vec<ActiveQuery>;

#[derive(Debug, Default)]
pub(super) struct DependencyGraph {
/// A `(K -> V)` pair in this map indicates that the the runtime
/// A `(K -> V)` pair in this map indicates that the runtime
/// `K` is blocked on some query executing in the runtime `V`.
/// This encodes a graph that must be acyclic (or else deadlock
/// will result).
Expand Down

0 comments on commit deddea0

Please sign in to comment.