remove error::* imports

This commit is contained in:
Ashley Mannix
2017-05-29 12:32:38 +10:00
committed by Paul Masurel
parent 2b2703cf51
commit 80837601ea
5 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
use Result;
use error::*;
use error::{ErrorKind, ResultExt};
use serde_json;
use schema::Schema;
use std::sync::Arc;

View File

@@ -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.
///

View File

@@ -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};

View File

@@ -1,4 +1,4 @@
use error::*;
use error::{ErrorKind, Result};
use core::SegmentReader;
use core::Segment;
use DocId;

View File

@@ -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;