Skip to content

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

style: apply rustfmt formatting

Steven Enamakelf07c2df29591
diff --git a/crates/openhuman-core/src/modules/mod.rs b/crates/openhuman-core/src/modules/mod.rs
index bbac80e115..88dc3ebe00 100644
--- a/crates/openhuman-core/src/modules/mod.rs
+++ b/crates/openhuman-core/src/modules/mod.rs
@@ -170,10 +170,7 @@ pub use types::{LoadPolicy, ModuleRecord, ModuleSource, ModuleState, ModuleStatu
/// Imports tinymcp's legacy SQLite files under `data_dir` into the module's
/// storage, once per directory. Never fails the caller: an error is logged and
/// the import is retried at the next open.
-pub async fn import_legacy_mcp(
- ctx: &crate::core::runtime::DispatchCtx,
- data_dir: &std::path::Path,
-) {
+pub async fn import_legacy_mcp(ctx: &crate::core::runtime::DispatchCtx, data_dir: &std::path::Path) {
#[cfg(feature = "modules")]
match storage_import_tinymcp::import_legacy(ctx, data_dir).await {
Ok(outcome) => log::debug!("[mcp] legacy storage import: {outcome:?}"),
diff --git a/tests/storage_desktop_upgrade_e2e.rs b/tests/storage_desktop_upgrade_e2e.rs
index 45e883f821..de82318da0 100644
--- a/tests/storage_desktop_upgrade_e2e.rs
+++ b/tests/storage_desktop_upgrade_e2e.rs
@@ -430,11 +430,7 @@ async fn a_desktop_upgrade_is_lossless_and_leaves_the_legacy_files_untouched(cas
// TinyAgents' run ledger imports `sessions.db` (and appends to it) with
// checked batches, which a driver without `ValidatedBatch` refuses.
let local = case.backend().for_scope(&Scope::local()).unwrap();
- if !local
- .documents()
- .capabilities()
- .contains(Capability::ValidatedBatch)
- {
+ if !local.documents().capabilities().contains(Capability::ValidatedBatch) {
// Written to the stderr handle, not with `eprintln!`, which the test
// harness captures for a passing test: the skip must show in the log.
use std::io::Write;