@@ -59,10 +59,10 @@ pub struct TeamAsk {
59
59
pub link_path : Arc < PathBuf > ,
60
60
61
61
/// What the team is being asked for (e.g., RFC decision)
62
- pub subgoal : String ,
62
+ pub ask_description : String ,
63
63
64
64
/// Title of the subgoal (or goal, if there are no subgoals)
65
- pub heading : String ,
65
+ pub subgoal_title : String ,
66
66
67
67
/// Name(s) of the teams being asked to do the thing
68
68
pub teams : Vec < & ' static TeamName > ,
@@ -142,7 +142,10 @@ pub fn format_team_asks(asks_of_any_team: &[&TeamAsk]) -> anyhow::Result<String>
142
142
let team_data = team_name. data ( ) ;
143
143
write ! ( output, "\n ### {} team\n " , team_data. name) ?;
144
144
145
- let subgoals: BTreeSet < & String > = asks_of_this_team. iter ( ) . map ( |a| & a. subgoal ) . collect ( ) ;
145
+ let subgoals: BTreeSet < & String > = asks_of_this_team
146
+ . iter ( )
147
+ . map ( |a| & a. ask_description )
148
+ . collect ( ) ;
146
149
147
150
let mut table = vec ! [ vec![
148
151
"Goal" . to_string( ) ,
@@ -157,12 +160,15 @@ pub fn format_team_asks(asks_of_any_team: &[&TeamAsk]) -> anyhow::Result<String>
157
160
"" . to_string( ) ,
158
161
] ) ;
159
162
160
- for ask in asks_of_this_team. iter ( ) . filter ( |a| a. subgoal == * subgoal) {
163
+ for ask in asks_of_this_team
164
+ . iter ( )
165
+ . filter ( |a| a. ask_description == * subgoal)
166
+ {
161
167
table. push ( vec ! [
162
168
format!(
163
169
"{} [{}]({}#ownership-and-team-asks)" ,
164
170
ARROW ,
165
- ask. heading ,
171
+ ask. subgoal_title ,
166
172
ask. link_path. display( )
167
173
) ,
168
174
ask. owners. to_string( ) ,
@@ -386,8 +392,8 @@ impl PlanItem {
386
392
if !teams. is_empty ( ) {
387
393
asks. push ( TeamAsk {
388
394
link_path : link_path. clone ( ) ,
389
- subgoal : self . text . clone ( ) ,
390
- heading : goal_title. to_string ( ) ,
395
+ ask_description : self . text . clone ( ) ,
396
+ subgoal_title : goal_title. to_string ( ) ,
391
397
teams,
392
398
owners : goal_owners. to_string ( ) ,
393
399
notes : self . notes . clone ( ) ,
@@ -476,12 +482,12 @@ fn extract_team_asks<'i>(
476
482
477
483
tasks. push ( TeamAsk {
478
484
link_path : link_path. clone ( ) ,
479
- heading : if subgoal == heading {
485
+ subgoal_title : if subgoal == heading {
480
486
metadata. short_title . to_string ( )
481
487
} else {
482
488
heading. to_string ( )
483
489
} ,
484
- subgoal : subgoal. to_string ( ) ,
490
+ ask_description : subgoal. to_string ( ) ,
485
491
teams,
486
492
owners : owners. to_string ( ) ,
487
493
notes : row[ 2 ] . to_string ( ) ,
0 commit comments