chore(all): fix rust edition

This commit is contained in:
mpostma
2022-01-12 11:14:50 +01:00
parent 1818026a84
commit 3ecebd15ee
6 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
[package]
name = "meilisearch-lib"
version = "0.25.0"
edition = "2018"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -298,6 +298,7 @@ impl DumpJob {
.await?;
let dump_path = tokio::task::spawn_blocking(move || -> Result<PathBuf> {
let _ = &self;
// for now we simply copy the updates/updates_files
// FIXME: We may copy more files than necessary, if new files are added while we are
// performing the dump. We need a way to filter them out.