diff --git a/crates/hir_def/src/test_db.rs b/crates/hir_def/src/test_db.rs index 2635b556e6..baf71731f4 100644 --- a/crates/hir_def/src/test_db.rs +++ b/crates/hir_def/src/test_db.rs @@ -233,7 +233,7 @@ impl TestDB { events .into_iter() .filter_map(|e| match e.kind { - // This pretty horrible, but `Debug` is the only way to inspect + // This is pretty horrible, but `Debug` is the only way to inspect // QueryDescriptor at the moment. salsa::EventKind::WillExecute { database_key } => { Some(format!("{:?}", database_key.debug(self))) diff --git a/crates/hir_ty/src/test_db.rs b/crates/hir_ty/src/test_db.rs index b99a03492b..ee6c2fa4f8 100644 --- a/crates/hir_ty/src/test_db.rs +++ b/crates/hir_ty/src/test_db.rs @@ -138,7 +138,7 @@ impl TestDB { events .into_iter() .filter_map(|e| match e.kind { - // This pretty horrible, but `Debug` is the only way to inspect + // This is pretty horrible, but `Debug` is the only way to inspect // QueryDescriptor at the moment. salsa::EventKind::WillExecute { database_key } => { Some(format!("{:?}", database_key.debug(self))) diff --git a/crates/syntax/src/algo.rs b/crates/syntax/src/algo.rs index 8d7a77b507..91ab01ca4e 100644 --- a/crates/syntax/src/algo.rs +++ b/crates/syntax/src/algo.rs @@ -173,7 +173,7 @@ pub fn diff(from: &SyntaxNode, to: &SyntaxNode) -> TreeDiff { } } - // FIXME: this is horrible inefficient. I bet there's a cool algorithm to diff trees properly. + // FIXME: this is horribly inefficient. I bet there's a cool algorithm to diff trees properly. fn go(diff: &mut TreeDiff, lhs: SyntaxElement, rhs: SyntaxElement) { let (lhs, rhs) = match lhs.as_node().zip(rhs.as_node()) { Some((lhs, rhs)) => (lhs, rhs),