mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
Make milli use edition 2021
This commit is contained in:
parent
b64b4ab6ca
commit
20e55a871b
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "milli"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
version.workspace = true
|
||||
|
@ -535,7 +535,7 @@ pub fn convert_snap_to_hash_if_needed<'snap>(
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! make_db_snap_from_iter {
|
||||
($index:ident, $name:ident, |$vars:pat| $push:block) => {{
|
||||
($index:ident, $name:ident, |$vars:pat_param| $push:block) => {{
|
||||
let rtxn = $index.read_txn().unwrap();
|
||||
let iter = $index.$name.iter(&rtxn).unwrap();
|
||||
let mut snap = String::new();
|
||||
|
Loading…
Reference in New Issue
Block a user