server: address lint
This commit is contained in:
parent
0222985f4d
commit
c547170efb
@ -143,8 +143,7 @@ impl TantivyConnection {
|
|||||||
rows.len()
|
rows.len()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
let total = rows.len();
|
for r in rows {
|
||||||
for (i, r) in rows.into_iter().enumerate() {
|
|
||||||
let id_term = Term::from_field_text(uid, &r.uid);
|
let id_term = Term::from_field_text(uid, &r.uid);
|
||||||
index_writer.delete_term(id_term);
|
index_writer.delete_term(id_term);
|
||||||
let slug = r.site;
|
let slug = r.site;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user