mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 10:04:21 +00:00
Remove some unused imports
This commit is contained in:
parent
5fc299d8f9
commit
199888dc25
2 changed files with 0 additions and 4 deletions
|
@ -94,7 +94,6 @@ pub fn card_schema() -> Schema {
|
||||||
/// Create a new [tantivy::Document] using a [Card] in a specific [locale](MappedGlobals] as base.
|
/// 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 {
|
pub fn card_to_document(schema: &Schema, locale: &MappedGlobals, card: Card) -> Document {
|
||||||
use tantivy::*;
|
use tantivy::*;
|
||||||
use itertools::Itertools;
|
|
||||||
|
|
||||||
let f_code = schema.get_field("code").expect("schema to have a 'code' field");
|
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");
|
let f_name = schema.get_field("name").expect("schema to have a 'name' field");
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
use std::collections::HashMap;
|
|
||||||
use std::fs::File;
|
|
||||||
use std::path::Path;
|
|
||||||
use log::*;
|
use log::*;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue