Closes #64 - Improve Index creationg API / documentation

This commit is contained in:
Paul Masurel
2017-02-25 20:40:39 +09:00
parent ca1617d3cd
commit 3a86fc00a2
5 changed files with 86 additions and 76 deletions

View File

@@ -3,7 +3,7 @@
/// Definition of Tantivy's error and result.
use std::io;
use std::result;
use std::path::PathBuf;
use std::error;
use std::sync::PoisonError;
@@ -12,8 +12,7 @@ use query;
use schema;
/// Tantivy result.
pub type Result<T> = result::Result<T, Error>;
/// Generic tantivy error.