Remove unused result response on indexes_uids function

This commit is contained in:
Quentin de Quelen 2019-11-20 11:21:21 +01:00
parent e22debb994
commit a0caf0d6d7
3 changed files with 3 additions and 5 deletions

View file

@ -251,9 +251,9 @@ impl Database {
self.env.copy_to_path(path, CompactionOption::Enabled)
}
pub fn indexes_uids(&self) -> MResult<Vec<String>> {
pub fn indexes_uids(&self) -> Vec<String> {
let indexes = self.indexes.read().unwrap();
Ok(indexes.keys().cloned().collect())
indexes.keys().cloned().collect()
}
pub fn common_store(&self) -> heed::PolyDatabase {