@@ -2174,12 +2174,12 @@ impl<'q> IssuesQuery for Query<'q> {
2174
2174
}
2175
2175
2176
2176
/// Return open concerns filed in an issue under MCP/RFC process
2177
- /// Concerns are marked by `@rfcbot concern` and `@rfcbot resolve`
2177
+ /// Concerns are marked by `@rustbot concern` and `@rustbot resolve`
2178
2178
fn find_open_concerns ( comments : Vec < Comment > ) -> Option < Vec < ( String , String ) > > {
2179
2179
let re_concern_raise =
2180
- Regex :: new ( r"@rfcbot concern (?P<concern_title>.*)" ) . expect ( "Invalid regexp" ) ;
2180
+ Regex :: new ( r"@rustbot concern (?P<concern_title>.*)" ) . expect ( "Invalid regexp" ) ;
2181
2181
let re_concern_solve =
2182
- Regex :: new ( r"@rfcbot resolve (?P<concern_title>.*)" ) . expect ( "Invalid regexp" ) ;
2182
+ Regex :: new ( r"@rustbot resolve (?P<concern_title>.*)" ) . expect ( "Invalid regexp" ) ;
2183
2183
let mut raised: HashMap < String , String > = HashMap :: new ( ) ;
2184
2184
let mut solved: HashMap < String , String > = HashMap :: new ( ) ;
2185
2185
@@ -2198,11 +2198,11 @@ fn find_open_concerns(comments: Vec<Comment>) -> Option<Vec<(String, String)>> {
2198
2198
2199
2199
// pick the first match only
2200
2200
if !r. is_empty ( ) {
2201
- let x = r[ 0 ] . replace ( "@rfcbot concern" , "" ) ;
2201
+ let x = r[ 0 ] . replace ( "@rustbot concern" , "" ) ;
2202
2202
raised. insert ( x. trim ( ) . to_string ( ) , comment. html_url . to_string ( ) ) ;
2203
2203
}
2204
2204
if !s. is_empty ( ) {
2205
- let x = s[ 0 ] . replace ( "@rfcbot resolve" , "" ) ;
2205
+ let x = s[ 0 ] . replace ( "@rustbot resolve" , "" ) ;
2206
2206
solved. insert ( x. trim ( ) . to_string ( ) , comment. html_url . to_string ( ) ) ;
2207
2207
}
2208
2208
}
0 commit comments