chore(rustc_expand): fix typo in comment

This commit is contained in:
Michael Howell 2021-09-15 09:13:18 -07:00
parent 2c7bc5e33c
commit ef44452a83

View File

@ -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() {