diff options
| author | Dan Aloni <alonid@gmail.com> | 2018-11-20 09:11:12 +0200 |
|---|---|---|
| committer | Dan Aloni <alonid@gmail.com> | 2018-11-21 21:31:47 +0200 |
| commit | b8ae7b801bf1f3d298493b2e7e1328a1a7ecace7 (patch) | |
| tree | 69c677dfa0fd0c925981f8e7d71ee98a4022475e /src/libsyntax | |
| parent | fc284c1eee0180903fe11463dcee06e414202cf7 (diff) | |
| download | rust-b8ae7b801bf1f3d298493b2e7e1328a1a7ecace7.tar.gz rust-b8ae7b801bf1f3d298493b2e7e1328a1a7ecace7.zip | |
macro_literal_matcher: fixes per petrochenkov's review
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_rules.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/ext/tt/macro_rules.rs b/src/libsyntax/ext/tt/macro_rules.rs index 55c1904bd27..d526e464ba4 100644 --- a/src/libsyntax/ext/tt/macro_rules.rs +++ b/src/libsyntax/ext/tt/macro_rules.rs @@ -1033,9 +1033,9 @@ fn is_legal_fragment_specifier(_sess: &ParseSess, frag_name: &str, _frag_span: Span) -> bool { /* - * If new fragmnet specifiers are invented in nightly, `_sess`, - * `_features`, `_attrs`, and `_frag_span` will be useful for - * here for checking against feature gates. See past versions of + * If new fragment specifiers are invented in nightly, `_sess`, + * `_features`, `_attrs`, and `_frag_span` will be useful here + * for checking against feature gates. See past versions of * this function. */ match frag_name { |
