1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Remove some unused imports

This commit is contained in:
Steffo 2022-08-05 18:19:33 +02:00
parent 5fc299d8f9
commit 199888dc25
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 0 additions and 4 deletions

View file

@ -94,7 +94,6 @@ pub fn card_schema() -> Schema {
/// Create a new [tantivy::Document] using a [Card] in a specific [locale](MappedGlobals] as base.
pub fn card_to_document(schema: &Schema, locale: &MappedGlobals, card: Card) -> Document {
use tantivy::*;
use itertools::Itertools;
let f_code = schema.get_field("code").expect("schema to have a 'code' field");
let f_name = schema.get_field("name").expect("schema to have a 'name' field");

View file

@ -1,6 +1,3 @@
use std::collections::HashMap;
use std::fs::File;
use std::path::Path;
use log::*;