Y
Hacker News
new
|
ask
|
show
|
jobs
by
ahahahahah
700 days ago
That's partially not true. You can use a non-async form in the trait definition to require the Send bound and then the trait impls can use the async form. See
https://play.rust-lang.org/?version=nightly&mode=debug&editi...
1 comments
Dagonfly
699 days ago
Fair point. Though, the code in question was a trait definition.
link