review(call): fix fmt drift in adapter.rs and env.rs (call/review-call-sync)

This commit is contained in:
2026-06-28 22:28:50 +00:00
parent 1af81346d1
commit 8bbc84ca72
2 changed files with 5 additions and 5 deletions

View File

@@ -559,7 +559,8 @@ mod tests {
.set_identity(peer_identity)
.expect("identity not yet set");
let context = adapter.build_root_context("req-5".to_string(), "fs/readFile", None, None, &conn);
let context =
adapter.build_root_context("req-5".to_string(), "fs/readFile", None, None, &conn);
let scoped = ScopedOperationEnv::new(["worker/exec"]);
let invoke_ctx = OperationContext {
@@ -616,7 +617,8 @@ mod tests {
);
conn.register_imported(imported);
let context = adapter.build_root_context("req-6".to_string(), "fs/readFile", None, None, &conn);
let context =
adapter.build_root_context("req-6".to_string(), "fs/readFile", None, None, &conn);
let scoped = ScopedOperationEnv::new(["worker/exec"]);
let invoke_ctx = OperationContext {

View File

@@ -283,9 +283,7 @@ impl OperationEnv for PeerCompositeEnv {
}
fn peer_contains(&self, peer: &PeerId, name: &str) -> bool {
self.connections
.get(peer)
.is_some_and(|c| c.contains(name))
self.connections.get(peer).is_some_and(|c| c.contains(name))
}
fn peer_ids(&self) -> Vec<PeerId> {