From 71a26d5b24a4cc6c5e8b4182c48a780b4c366785 Mon Sep 17 00:00:00 2001 From: Remi Date: Thu, 18 Sep 2025 23:06:33 +0200 Subject: [PATCH] Fix CI with rust 1.90 (#2696) * Empty commit * Fix dead code lint error --- src/schema/document/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schema/document/mod.rs b/src/schema/document/mod.rs index b1e9f14f2..149fa3a7b 100644 --- a/src/schema/document/mod.rs +++ b/src/schema/document/mod.rs @@ -80,6 +80,7 @@ //! } //! //! /// Our custom iterator just helps us to avoid some messy generics. +//! #[allow(dead_code)] //! pub struct MyCustomIter<'a>(btree_map::Iter<'a, Field, serde_json::Value>); //! impl<'a> Iterator for MyCustomIter<'a> { //! // Here we can see our field-value pairs being produced by the iterator.