xtra icon indicating copy to clipboard operation
xtra copied to clipboard

The example code in README is outdated

Open constlhq opened this issue 1 year ago • 1 comments

let addr = xtra::spawn_tokio(Printer::default(), None);

Type mismatch [E0308] expected (Address<Printer>, Mailbox<Printer>), but found Option<_>

constlhq avatar Feb 18 '24 06:02 constlhq

Darn, yeah that one is not CI tested. I recommend looking at the actual examples: https://github.com/Restioson/xtra/tree/master/xtra/examples

PRs welcome to fix the README! :)

thomaseizinger avatar Feb 18 '24 08:02 thomaseizinger