File tree Expand file tree Collapse file tree 1 file changed +2
-28
lines changed Expand file tree Collapse file tree 1 file changed +2
-28
lines changed Original file line number Diff line number Diff line change 1
1
//! The labels command parser.
2
2
//!
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.
31
5
32
6
use crate :: error:: Error ;
33
7
use crate :: token:: { Token , Tokenizer } ;
You can’t perform that action at this time.
0 commit comments