Fixes build for no-default-features (#839)

This commit is contained in:
Paul Masurel
2020-06-05 19:41:55 +09:00
committed by GitHub
parent 4026d183bc
commit 1cc5bd706c

View File

@@ -24,8 +24,10 @@ use crate::IndexWriter;
use std::borrow::BorrowMut;
use std::collections::HashSet;
use std::fmt;
#[cfg(feature = "mmap")]
use std::path::{Path, PathBuf};
use std::path::Path;
use std::path::PathBuf;
use std::sync::Arc;
fn load_metas(