Various formatting changes.

This commit is contained in:
Michael Mikovsky
2026-04-25 14:52:49 -06:00
parent 396c707662
commit 56bc7ee4f8
2 changed files with 4 additions and 2 deletions
@@ -10,7 +10,6 @@ use unshell::protocol::tree::{ChildRoute, EndpointOutcome, LocalEvent, ProtocolE
pub const LISTEN_ADDR: &str = "127.0.0.1:4444"; pub const LISTEN_ADDR: &str = "127.0.0.1:4444";
#[derive(Leaf)] #[derive(Leaf)]
#[leaf(org = "org", product = "example", version = "v1", leaf_name = "shell")]
#[leaf(procedures(start))] #[leaf(procedures(start))]
pub struct RemoteShellLeaf; pub struct RemoteShellLeaf;
@@ -36,7 +36,10 @@ impl Simulation {
message.data.clone(), message.data.clone(),
true, true,
)?; )?;
self.record_trace(node_id, format!("leaf {leaf_name} echoed {} bytes", message.data.len())); self.record_trace(
node_id,
format!("leaf {leaf_name} echoed {} bytes", message.data.len()),
);
self.process_outcome(node_id, outcome)?; self.process_outcome(node_id, outcome)?;
} }
} }