Skip to content

Commit

Permalink
chore(rustc_expand): fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Sep 15, 2021
1 parent 2c7bc5e commit ef44452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_expand/src/mbe/quoted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub(super) fn parse(
// this with just `span.edition()`. A
// `SyntaxContext::root()` from the current crate will
// have the edition of the current crate, and a
// `SyntaxxContext::root()` from a foreign crate will
// `SyntaxContext::root()` from a foreign crate will
// have the edition of that crate (which we manually
// retrieve via the `edition` parameter).
if span.ctxt() == SyntaxContext::root() {
Expand Down

0 comments on commit ef44452

Please sign in to comment.