Skip to content

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

refactor(storage): collapse condition_for signature onto one line

Steven Enamakel333d390b1d37
diff --git a/crates/openhuman-core/src/storage/fenced_backend.rs b/crates/openhuman-core/src/storage/fenced_backend.rs
index b4fdab1953..1354ce7811 100644
--- a/crates/openhuman-core/src/storage/fenced_backend.rs
+++ b/crates/openhuman-core/src/storage/fenced_backend.rs
@@ -65,10 +65,7 @@ impl FencedBackend {
}
}
- fn condition_for(
- &self,
- scope: &Scope,
- ) -> Result<FencedWriteCondition, StorageError> {
+ fn condition_for(&self, scope: &Scope) -> Result<FencedWriteCondition, StorageError> {
let fence = if let Some(captured) = &self.captured {
if !captured.covers(scope.as_str()) {
return Err(StorageError::backend(