File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments