Match unmatched backticks in comments in compiler/

This commit is contained in:
est31
2023-03-03 04:15:15 +01:00
parent ff2c609d66
commit 6df5ae4fb0
24 changed files with 28 additions and 25 deletions

View File

@@ -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,