File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -718,7 +718,7 @@ pub enum NonterminalKind {
718
718
}
719
719
720
720
/// Used when parsing a non-terminal (see `parse_nonterminal`) to determine if `:pat` should match
721
- /// `top_pat` or `pat<no_top_alt>`. See issue https://github.com/rust-lang/rust/pull/78935.
721
+ /// `top_pat` or `pat<no_top_alt>`. See issue < https://github.com/rust-lang/rust/pull/78935> .
722
722
pub enum OrPatNonterminalMode {
723
723
TopPat ,
724
724
NoTopAlt ,
Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ fn token_name_eq(t1: &Token, t2: &Token) -> bool {
422
422
/// previously be a separator that follows `:pat`. Thus, we make a special case to parse `:pat` the
423
423
/// old way if it happens to be followed by `|` in the matcher.
424
424
///
425
- /// See https://github.com/rust-lang/rust/issues/54883 for more info.
425
+ /// See < https://github.com/rust-lang/rust/issues/54883> for more info.
426
426
fn or_pat_mode ( item : & MatcherPosHandle < ' _ , ' _ > ) -> OrPatNonterminalMode {
427
427
if item. idx < item. top_elts . len ( ) - 1 {
428
428
// Look at the token after the current one to see if it is `|`.
You can’t perform that action at this time.
0 commit comments