diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index abe227db0..119be47f9 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -65,6 +65,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
+ args: -- --allow clippy::uninlined_format_args
fmt:
name: Run Rustfmt
diff --git a/milli/src/index.rs b/milli/src/index.rs
index 8a17cebf4..32ffe45cf 100644
--- a/milli/src/index.rs
+++ b/milli/src/index.rs
@@ -348,10 +348,10 @@ impl Index {
/* external documents ids */
/// Writes the external documents ids and internal ids (i.e. `u32`).
- pub(crate) fn put_external_documents_ids<'a>(
+ pub(crate) fn put_external_documents_ids(
&self,
wtxn: &mut RwTxn,
- external_documents_ids: &ExternalDocumentsIds<'a>,
+ external_documents_ids: &ExternalDocumentsIds<'_>,
) -> heed::Result<()> {
let ExternalDocumentsIds { hard, soft, .. } = external_documents_ids;
let hard = hard.as_fst().as_bytes();
@@ -426,7 +426,7 @@ impl Index {
}
/// Returns the `rtree` which associates coordinates to documents ids.
- pub fn geo_rtree<'t>(&self, rtxn: &'t RoTxn) -> Result