mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-30 23:20:40 +00:00
remove error::* imports
This commit is contained in:
committed by
Paul Masurel
parent
2b2703cf51
commit
80837601ea
@@ -1,5 +1,5 @@
|
||||
use Result;
|
||||
use error::*;
|
||||
use error::{ErrorKind, ResultExt};
|
||||
use serde_json;
|
||||
use schema::Schema;
|
||||
use std::sync::Arc;
|
||||
|
||||
@@ -12,7 +12,7 @@ use std::io::Write;
|
||||
use core::MANAGED_FILEPATH;
|
||||
use std::collections::HashMap;
|
||||
use std::fmt;
|
||||
use error::*;
|
||||
use error::{Result, ErrorKind, ResultExt};
|
||||
|
||||
/// Wrapper of directories that keeps track of files created by Tantivy.
|
||||
///
|
||||
|
||||
@@ -9,7 +9,7 @@ use core::SegmentReader;
|
||||
use indexer::stamper::Stamper;
|
||||
use datastruct::stacker::Heap;
|
||||
use directory::FileProtection;
|
||||
use error::*;
|
||||
use error::{Error, ErrorKind, Result, ResultExt};
|
||||
use Directory;
|
||||
use fastfield::write_delete_bitset;
|
||||
use indexer::delete_queue::{DeleteCursor, DeleteQueue};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use error::*;
|
||||
use error::{ErrorKind, Result};
|
||||
use core::SegmentReader;
|
||||
use core::Segment;
|
||||
use DocId;
|
||||
|
||||
@@ -7,7 +7,7 @@ use core::SegmentMeta;
|
||||
use core::SerializableSegment;
|
||||
use directory::Directory;
|
||||
use indexer::stamper::Stamper;
|
||||
use error::*;
|
||||
use error::{Error, ErrorKind, Result};
|
||||
use futures_cpupool::CpuPool;
|
||||
use futures::Future;
|
||||
use futures::Canceled;
|
||||
|
||||
Reference in New Issue
Block a user