Skip to content

Commit b22eb02

Browse files
authored
fail -> failed
1 parent 2d349ae commit b22eb02

File tree

1 file changed

+2
-2
lines changed
  • crates/hir_expand/src

1 file changed

+2
-2
lines changed

crates/hir_expand/src/db.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,12 @@ fn macro_expand(db: &dyn AstDatabase, id: MacroCallId) -> ExpandResult<Option<Ar
366366

367367
let macro_arg = match db.macro_arg(id) {
368368
Some(it) => it,
369-
None => return ExpandResult::str_err("Fail to lower macro args to token tree".into()),
369+
None => return ExpandResult::str_err("Failed to lower macro args to token tree".into()),
370370
};
371371

372372
let macro_rules = match db.macro_def(loc.def) {
373373
Some(it) => it,
374-
None => return ExpandResult::str_err("Fail to find macro definition".into()),
374+
None => return ExpandResult::str_err("Failed to find macro definition".into()),
375375
};
376376
let ExpandResult { value: tt, err } = macro_rules.expand(db, id, &macro_arg.0);
377377
// Set a hard limit for the expanded tt

0 commit comments

Comments
 (0)