Skip to content

Commit dc95109

Browse files
committed
typo
1 parent bbcd356 commit dc95109

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/ra_mbe/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub use tt::{Delimiter, Punct};
2626

2727
pub use crate::syntax_bridge::ast_to_token_tree;
2828

29-
/// This struct contains AST for a single `macro_rules` defenition. What might
29+
/// This struct contains AST for a single `macro_rules` definition. What might
3030
/// be very confusing is that AST has almost exactly the same shape as
3131
/// `tt::TokenTree`, but there's a crucial difference: in macro rules, `$ident`
3232
/// and `$()*` have special meaning (see `Var` and `Repeat` data structures)

crates/ra_mbe/src/mbe_expander.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// This module takes a (parsed) defenition of `macro_rules` invocation, a
1+
/// This module takes a (parsed) definition of `macro_rules` invocation, a
22
/// `tt::TokenTree` representing an argument of macro invocation, and produces a
33
/// `tt::TokenTree` for the result of the expansion.
44
use rustc_hash::FxHashMap;

0 commit comments

Comments
 (0)