Skip to content

Commit deddea0

Browse files
committed
Auto merge of rust-lang#16646 - cuishuang:master, r=lnicola
remove repetitive words
2 parents 6648f19 + 6dca794 commit deddea0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: crates/hir-ty/src/db.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub trait HirDatabase: DefDatabase + Upcast<dyn DefDatabase> {
9090
#[salsa::cycle(crate::lower::ty_recover)]
9191
fn ty(&self, def: TyDefId) -> Binders<Ty>;
9292

93-
/// Returns the type of the value of the given constant, or `None` if the the `ValueTyDefId` is
93+
/// Returns the type of the value of the given constant, or `None` if the `ValueTyDefId` is
9494
/// a `StructId` or `EnumVariantId` with a record constructor.
9595
#[salsa::invoke(crate::lower::value_ty_query)]
9696
fn value_ty(&self, def: ValueTyDefId) -> Option<Binders<Ty>>;

Diff for: crates/salsa/src/runtime/dependency_graph.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type QueryStack = Vec<ActiveQuery>;
1212

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

0 commit comments

Comments
 (0)