fix clippy warnings

This commit is contained in:
Marin Postma
2021-04-27 17:51:12 +02:00
parent 4fe2a13c71
commit a961f0ce75
6 changed files with 10 additions and 31 deletions

View File

@ -68,11 +68,7 @@ impl Data {
api_keys.generate_missing_api_keys();
let inner = DataInner {
index_controller,
options,
api_keys,
};
let inner = DataInner { index_controller, api_keys, options };
let inner = Arc::new(inner);
Ok(Data { inner })