fix compile errors

This commit is contained in:
mpostma 2021-01-14 11:27:07 +01:00
parent 334933b874
commit 686f987180
No known key found for this signature in database
GPG key ID: CBC8A7C1D7A28C3A
6 changed files with 59 additions and 61 deletions

View file

@ -3,11 +3,9 @@ mod updates;
pub use search::{SearchQuery, SearchResult};
use std::fs::create_dir_all;
use std::ops::Deref;
use std::sync::Arc;
use milli::Index;
use sha2::Digest;
use crate::{option::Opt, updates::Settings};
@ -29,8 +27,7 @@ impl Deref for Data {
#[derive(Clone)]
pub struct DataInner {
pub indexes: Arc<IndexController>,
pub update_queue: Arc<UpdateQueue>,
pub indexes: Arc<IndexController<UpdateQueue>>,
api_keys: ApiKeys,
options: Opt,
}