diff options
| author | est31 <MTest31@outlook.com> | 2023-03-03 04:15:15 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2023-03-03 08:39:00 +0100 |
| commit | 6df5ae4fb03734dd98db01a9f488998b1d4498ab (patch) | |
| tree | d5c0058297d36c2e830ad316af52183c0e423792 /compiler/rustc_parse/src/parser/mod.rs | |
| parent | ff2c609d662f0ffae9aafa6ff9f60441473e958e (diff) | |
| download | rust-6df5ae4fb03734dd98db01a9f488998b1d4498ab.tar.gz rust-6df5ae4fb03734dd98db01a9f488998b1d4498ab.zip | |
Match unmatched backticks in comments in compiler/
Diffstat (limited to 'compiler/rustc_parse/src/parser/mod.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs index b1b79fe4e05..da82e4724d1 100644 --- a/compiler/rustc_parse/src/parser/mod.rs +++ b/compiler/rustc_parse/src/parser/mod.rs @@ -335,7 +335,7 @@ impl TokenCursor { num_of_hashes = cmp::max(num_of_hashes, count); } - // `/// foo` becomes `doc = r"foo". + // `/// foo` becomes `doc = r"foo"`. let delim_span = DelimSpan::from_single(span); let body = TokenTree::Delimited( delim_span, |
