Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
#![feature(generators, generator_trait)]
use std::ops::Generator;
fn msg() -> u32 {
0
}
pub fn foo() -> impl Generator<(), Yield=(), Return=u32> {
|| {
yield;
return msg();