fix guide text
@@ -42,7 +42,7 @@ impl Actor for MyActor {
# fn main() {}
```
-Each actor has execution context, in this case we are going to use `Context<A>`. More information
+Each actor has execution context, for `MyActor` we are going to use `Context<A>`. More information
on actor contexts is available in next section.
Now we need to define `Message` that actor needs to accept. Message could be any type
@@ -66,10 +66,7 @@ Main purpose of the `Message` trait is to define result type. `Ping` message def
return `usize` value.
And finally, we need to declare that our actor `MyActor` can accept `Ping` and handle it.
-To do this, actor needs to implement `Handler<M>` trait.
-
-Next, create an `Application` instance and register the
-request handler with the application's `resource` on a particular *HTTP method* and *path*::
+To do this, actor needs to implement `Handler<Ping>` trait.
```rust
# extern crate actix;
