Skip to content

Commit e57ad54

Browse files
committed
fix: Typos
1 parent 41943f2 commit e57ad54

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/hir_def/src/test_db.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl TestDB {
233233
events
234234
.into_iter()
235235
.filter_map(|e| match e.kind {
236-
// This pretty horrible, but `Debug` is the only way to inspect
236+
// This is pretty horrible, but `Debug` is the only way to inspect
237237
// QueryDescriptor at the moment.
238238
salsa::EventKind::WillExecute { database_key } => {
239239
Some(format!("{:?}", database_key.debug(self)))

crates/hir_ty/src/test_db.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ impl TestDB {
138138
events
139139
.into_iter()
140140
.filter_map(|e| match e.kind {
141-
// This pretty horrible, but `Debug` is the only way to inspect
141+
// This is pretty horrible, but `Debug` is the only way to inspect
142142
// QueryDescriptor at the moment.
143143
salsa::EventKind::WillExecute { database_key } => {
144144
Some(format!("{:?}", database_key.debug(self)))

crates/syntax/src/algo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pub fn diff(from: &SyntaxNode, to: &SyntaxNode) -> TreeDiff {
173173
}
174174
}
175175

176-
// FIXME: this is horrible inefficient. I bet there's a cool algorithm to diff trees properly.
176+
// FIXME: this is horribly inefficient. I bet there's a cool algorithm to diff trees properly.
177177
fn go(diff: &mut TreeDiff, lhs: SyntaxElement, rhs: SyntaxElement) {
178178
let (lhs, rhs) = match lhs.as_node().zip(rhs.as_node()) {
179179
Some((lhs, rhs)) => (lhs, rhs),

0 commit comments

Comments
 (0)