File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
tools/agenda-generator/src Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -530,7 +530,7 @@ impl GithubQuery {
530530 self
531531 }
532532
533- fn skip < ' a > ( & mut self , to_skip : impl Iterator < Item = & ' a Issue > ) -> & mut Self {
533+ fn skip < ' a > ( & mut self , to_skip : impl Iterator < Item = & ' a Issue > ) -> & mut Self {
534534 self . to_skip = to_skip. map ( |i| i. html_url . clone ( ) ) . collect ( ) ;
535535 self
536536 }
@@ -553,7 +553,6 @@ impl GithubQuery {
553553 fn write ( & mut self , generator : & mut Generator ) -> Result < Vec < Issue > > {
554554 let mut all_issues = Vec :: new ( ) ;
555555
556-
557556 for repo in & self . repos {
558557 for labels in & self . labels {
559558 let cs_labels = labels. join ( "," ) ;
@@ -575,9 +574,7 @@ impl GithubQuery {
575574 . all ( |& label| issue. labels . iter ( ) . any ( |x| x == label) )
576575 } )
577576 } ) ;
578- let issues = issues. filter ( |i| {
579- !self . to_skip . iter ( ) . any ( |s| * s == i. html_url )
580- } ) ;
577+ let issues = issues. filter ( |i| !self . to_skip . iter ( ) . any ( |s| * s == i. html_url ) ) ;
581578
582579 let mut issues: Vec < _ > = issues. collect ( ) ;
583580
@@ -638,7 +635,6 @@ struct Issue {
638635 labels : Vec < String > ,
639636}
640637
641-
642638fn escape ( v : & str ) -> String {
643639 let mut s = String :: with_capacity ( v. len ( ) + 10 ) ;
644640 v. chars ( ) . for_each ( |c| {
You can’t perform that action at this time.
0 commit comments