Fix sync fallout (fmt)
This commit is contained in:
parent
62db617e40
commit
3d3a13d871
@ -218,12 +218,16 @@ fn check_ident(&mut self, ident: Ident) {
|
|||||||
let mut split_at = None;
|
let mut split_at = None;
|
||||||
match existing_name.len.cmp(&count) {
|
match existing_name.len.cmp(&count) {
|
||||||
Ordering::Greater => {
|
Ordering::Greater => {
|
||||||
if existing_name.len - count != 1 || levenstein_not_1(&interned_name, &existing_name.interned.as_str()) {
|
if existing_name.len - count != 1
|
||||||
|
|| levenstein_not_1(&interned_name, &existing_name.interned.as_str())
|
||||||
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Ordering::Less => {
|
Ordering::Less => {
|
||||||
if count - existing_name.len != 1 || levenstein_not_1(&existing_name.interned.as_str(), &interned_name) {
|
if count - existing_name.len != 1
|
||||||
|
|| levenstein_not_1(&existing_name.interned.as_str(), &interned_name)
|
||||||
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user