Skip to content

Commit

Permalink
update docs on release to ockam ref ockam_v0.144.0
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and metaclips committed Dec 5, 2024
1 parent c744287 commit acbbd8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion reference/libraries/rust/nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl Worker for Echoer {
println!("Address: {}, Received: {:?}", ctx.address(), msg);

// Echo the message body back on its return_route.
ctx.send(msg.return_route(), msg.into_body()?).await
ctx.send(msg.return_route().clone(), msg.into_body()?).await
}
}

Expand Down
2 changes: 1 addition & 1 deletion reference/libraries/rust/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ impl Worker for Relay {
local_message = local_message.pop_front_onward_route()?;
local_message = local_message.prepend_front_onward_route(&self.route); // Prepend predefined route to the onward_route

let prev_hop = local_message.return_route_ref().next()?.clone();
let prev_hop = local_message.return_route().next()?.clone();

if let Some(info) = ctx
.flow_controls()
Expand Down
2 changes: 1 addition & 1 deletion reference/protocols/nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl Worker for Echoer {
println!("Address: {}, Received: {:?}", ctx.address(), msg);

// Echo the message body back on its return_route.
ctx.send(msg.return_route(), msg.into_body()?).await
ctx.send(msg.return_route().clone(), msg.into_body()?).await
}
}

Expand Down
2 changes: 1 addition & 1 deletion reference/protocols/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ impl Worker for Relay {
local_message = local_message.pop_front_onward_route()?;
local_message = local_message.prepend_front_onward_route(&self.route); // Prepend predefined route to the onward_route

let prev_hop = local_message.return_route_ref().next()?.clone();
let prev_hop = local_message.return_route().next()?.clone();

if let Some(info) = ctx
.flow_controls()
Expand Down

0 comments on commit acbbd8b

Please sign in to comment.