auto_enums 0.8.10

A library for to allow multiple return types by automatically generated enum.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: Apache-2.0 OR MIT

fn closure() -> impl Fn() {
    || break
}

fn async_block() -> impl std::future::Future<Output = ()> {
    async { break }
}

fn main() {}