Skip to content

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

style(modules): rustfmt the backend choice in bind

M3gA-Mind55dea2fc2627
diff --git a/crates/openhuman-core/src/modules/storage_host.rs b/crates/openhuman-core/src/modules/storage_host.rs
index 03ec8a069c..5883da4ccb 100644
--- a/crates/openhuman-core/src/modules/storage_host.rs
+++ b/crates/openhuman-core/src/modules/storage_host.rs
@@ -388,8 +388,8 @@ impl StorageHost {
/// The module's binding for `scope`, built on first use and again when the
/// installed backend changed. The host runs the declared schema here.
async fn bind(&self, module: &str, scope: Scope) -> Result<Arc<Binding>, BindError> {
- let backend = backend_choice::for_module(module, &*self.environment)
- .ok_or(BindError::NoBackend)?;
+ let backend =
+ backend_choice::for_module(module, &*self.environment).ok_or(BindError::NoBackend)?;
let key = (module.to_string(), scope.as_str().to_string());
let mut bindings = self.bindings.lock().await;
if let Some(existing) = bindings.get(&key) {