Skip to content
This repository was archived by the owner on Sep 22, 2020. It is now read-only.

Commit f1419c9

Browse files
committed
update readme
1 parent 90a06be commit f1419c9

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

README.md

-28
Original file line numberDiff line numberDiff line change
@@ -44,34 +44,6 @@ impl Message for Sum {
4444
fn main() {}
4545
```
4646

47-
### Handler
48-
49-
Actix derive provide proc_macro attributes macro for nightly rust.
50-
51-
```rust
52-
#![feature(proc_macro)]
53-
54-
extern crate actix;
55-
extern crate actix_derive;
56-
use actix_derive::*;
57-
58-
#[msg(usize)]
59-
struct Sum {a: usize, b: usize}
60-
61-
struct SumActor;
62-
63-
#[actor(Context<_>)]
64-
impl SumActor {
65-
66-
#[simple(Sum)]
67-
fn sum(&mut self, a: usize, b: usize) -> usize {
68-
a + b
69-
}
70-
}
71-
72-
fn main() {}
73-
```
74-
7547
## License
7648

7749
This project is licensed under either of

0 commit comments

Comments
 (0)