Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(openhuman-modules-linked): allow clippy vec_init_then_push lint

Steven Enamakela035f9a9f0c3
diff --git a/crates/openhuman-modules-linked/src/lib.rs b/crates/openhuman-modules-linked/src/lib.rs
index b904142a40..4f40d38261 100644
--- a/crates/openhuman-modules-linked/src/lib.rs
+++ b/crates/openhuman-modules-linked/src/lib.rs
@@ -48,7 +48,7 @@ use openhuman_rpc::embed::modules::{register_linked, LinkedFactory};
/// Empty when no module feature is enabled.
#[must_use]
pub fn linked_modules() -> Vec<(&'static str, LinkedFactory)> {
- #[allow(unused_mut)]
+ #[allow(unused_mut, clippy::vec_init_then_push)]
let mut modules: Vec<(&'static str, LinkedFactory)> = Vec::new();
#[cfg(feature = "tinychannels")]
modules.push(("tinychannels", tinychannels_module::linked_module));