]> git.lizzy.rs Git - rust.git/commitdiff
chore(rustc_expand): fix typo in comment
authorMichael Howell <michael@notriddle.com>
Wed, 15 Sep 2021 16:13:18 +0000 (09:13 -0700)
committerMichael Howell <michael@notriddle.com>
Wed, 15 Sep 2021 16:13:18 +0000 (09:13 -0700)
compiler/rustc_expand/src/mbe/quoted.rs

index fb7479eafc86f5e155640393e1efd8891f4c5873..363cc72b52c3e5bc46483c5b94f796bde701144f 100644 (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() {