logo
down
shadow

RUST QUESTIONS

How to convert a closure without a yield to a generator?
How to convert a closure without a yield to a generator?
may help you . A closure isn't a generator, so the compiler can't really treat it as one. It is unclear whether the generator you wish to implement is supposed to return or yield the return value of the function; assuming you want the former, you can
TAG : rust
Date : November 18 2020, 04:01 AM , By : Steve Rokey
shadow
Privacy Policy - Terms - Contact Us © bighow.org