Fixes build for no-default-features

This commit is contained in:
Paul Masurel
2020-06-05 19:40:32 +09:00
parent 4026d183bc
commit e4759b1d82

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(