Skip to content

Commit 5ea17fa

Browse files
authored
Merge pull request #1999 from ehuss/label-grammar-docs
Remove label grammar docs
2 parents 5595695 + 40851f7 commit 5ea17fa

File tree

1 file changed

+2
-28
lines changed

1 file changed

+2
-28
lines changed

parser/src/command/relabel.rs

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,7 @@
11
//! The labels command parser.
22
//!
3-
//! This can parse arbitrary input, giving the list of labels added/removed.
4-
//!
5-
//! The grammar is as follows:
6-
//!
7-
//! ```text
8-
//! Command: `@bot modify? <label-w> to? :? <label-list>.`
9-
//!
10-
//! <label-w>:
11-
//! - label
12-
//! - labels
13-
//!
14-
//! <label-list>:
15-
//! - <label-delta>
16-
//! - <label-delta> and <label-list>
17-
//! - <label-delta>, <label-list>
18-
//! - <label-delta>, and <label-list>
19-
//!
20-
//! <label-delta>:
21-
//! - +<label>
22-
//! - -<label>
23-
//! this can start with a + or -, but then the only supported way of adding it
24-
//! is with the previous two variants of this (i.e., ++label and -+label).
25-
//! - <label>
26-
//!
27-
//! <label>:
28-
//! - \S+
29-
//! - ".+"
30-
//! ```
3+
//! See <https://forge.rust-lang.org/triagebot/labeling.html#usage> for the
4+
//! grammar this parser accepts.
315
326
use crate::error::Error;
337
use crate::token::{Token, Tokenizer};

0 commit comments

Comments
 (0)