Skip to content

A fast, helpful, and open-source document parser

fix clippy

Logan Markewichcdfa82209c45
diff --git a/crates/liteparse-python/src/lib.rs b/crates/liteparse-python/src/lib.rs
index ce171de..62e7d84 100644
--- a/crates/liteparse-python/src/lib.rs
+++ b/crates/liteparse-python/src/lib.rs
@@ -384,7 +384,7 @@ fn search_items(items: Vec<PyTextItem>, phrase: String, case_sensitive: bool) ->
case_sensitive,
};
liteparse::search::search_items(&rust_items, &options)
- .iter()
+ .into_iter()
.map(PyTextItem::from_rust)
.collect()
}