Commit 11bc2df
committed
docs: fix doctest compilation errors in actor.rs and gen_server.rs
- Fix string comparison in actor.rs try_receive example by using s.as_str()
to properly compare &String with string literal
- Add missing CallResponse import in gen_server.rs module doctest example
- All 81 unit tests, integration tests, and 85 doctests now passing1 parent 9ec6998 commit 11bc2df
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
| 432 | + | |
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments