Rename short name bc by ic for initial_candidates

This commit is contained in:
ManyTheFish 2022-12-13 10:56:38 +01:00
parent 80d34a4169
commit 2d8d0af1a6
2 changed files with 4 additions and 4 deletions

View File

@ -143,8 +143,8 @@ impl<'t> Criterion for Typo<'t> {
}) => { }) => {
self.initial_candidates = self.initial_candidates =
match (self.initial_candidates.take(), initial_candidates) { match (self.initial_candidates.take(), initial_candidates) {
(Some(self_bc), Some(parent_bc)) => Some(self_bc | parent_bc), (Some(self_ic), Some(parent_ic)) => Some(self_ic | parent_ic),
(self_bc, parent_bc) => self_bc.or(parent_bc), (self_ic, parent_ic) => self_ic.or(parent_ic),
}; };
let candidates = match candidates.or(filtered_candidates) { let candidates = match candidates.or(filtered_candidates) {

View File

@ -74,8 +74,8 @@ impl<'t> Criterion for Words<'t> {
self.initial_candidates = self.initial_candidates =
match (self.initial_candidates.take(), initial_candidates) { match (self.initial_candidates.take(), initial_candidates) {
(Some(self_bc), Some(parent_bc)) => Some(self_bc | parent_bc), (Some(self_ic), Some(parent_ic)) => Some(self_ic | parent_ic),
(self_bc, parent_bc) => self_bc.or(parent_bc), (self_ic, parent_ic) => self_ic.or(parent_ic),
}; };
} }
Some(CriterionResult { Some(CriterionResult {