@@ -142,27 +142,24 @@ fn create_mappings<'tcx>(
142142
143143 mappings. extend ( coverage_spans. all_bcb_mappings ( ) . filter_map (
144144 |BcbMapping { kind : bcb_mapping_kind, span } | {
145- let kind = match bcb_mapping_kind {
146- BcbMappingKind :: Code ( bcb) => MappingKind :: Code ( term_for_bcb ( * bcb) ) ,
145+ let kind = match * bcb_mapping_kind {
146+ BcbMappingKind :: Code ( bcb) => MappingKind :: Code ( term_for_bcb ( bcb) ) ,
147147 BcbMappingKind :: Branch { true_bcb, false_bcb, condition_info } => {
148148 if condition_info. condition_id == ConditionId :: NONE {
149149 MappingKind :: Branch {
150- true_term : term_for_bcb ( * true_bcb) ,
151- false_term : term_for_bcb ( * false_bcb) ,
150+ true_term : term_for_bcb ( true_bcb) ,
151+ false_term : term_for_bcb ( false_bcb) ,
152152 }
153153 } else {
154154 MappingKind :: MCDCBranch {
155- true_term : term_for_bcb ( * true_bcb) ,
156- false_term : term_for_bcb ( * false_bcb) ,
157- mcdc_params : * condition_info,
155+ true_term : term_for_bcb ( true_bcb) ,
156+ false_term : term_for_bcb ( false_bcb) ,
157+ mcdc_params : condition_info,
158158 }
159159 }
160160 }
161161 BcbMappingKind :: Decision { bitmap_idx, conditions_num, .. } => {
162- MappingKind :: MCDCDecision ( DecisionInfo {
163- bitmap_idx : * bitmap_idx,
164- conditions_num : * conditions_num,
165- } )
162+ MappingKind :: MCDCDecision ( DecisionInfo { bitmap_idx, conditions_num } )
166163 }
167164 } ;
168165 let code_region = make_code_region ( source_map, file_name, * span, body_span) ?;
0 commit comments