mirror of
https://github.com/actix/actix-website
synced 2024-11-24 00:41:07 +01:00
Fix a small typo in sec-5-arbiter.md (#416)
This commit is contained in:
parent
71817c4bfb
commit
630441de56
@ -85,7 +85,7 @@ fn main() {
|
|||||||
Ok(res) => {
|
Ok(res) => {
|
||||||
// `res` is now the `usize` returned from `SumActor` as a response to `Value(6, 7)`
|
// `res` is now the `usize` returned from `SumActor` as a response to `Value(6, 7)`
|
||||||
// Once the future is complete, send the successful response (`usize`)
|
// Once the future is complete, send the successful response (`usize`)
|
||||||
// to the `DisplayActor` wrapped in a `Display
|
// to the `DisplayActor` wrapped in a `Display`
|
||||||
dis_addr.send(Display(res)).await;
|
dis_addr.send(Display(res)).await;
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user