xxxxxxxxxx
Sign in to import from GitHub:
Test cases live in ui/type-alias-impl-trait/
ui/type-alias-impl-trait/
impl Trait
impl Service { type Future = impl Future; fn foo() -> Self::Future { ... } }
type Foo = (impl Trait, u32)
type Foo = Vec<impl Trait>
type Foo = Box<dyn Iterator<Item = impl Debug>>
type Foo = impl Iterator<Item = impl Debug>
type Bar = impl Debug; type Foo = impl Iterator<Item = Bar>
type Foo = fn(impl Trait)
type Foo = fn(impl Debug)
let
type Bar = impl Debug; type Foo = impl PartialEq<Bar>;
type Bar = impl Debug; fn foo() -> impl PartialEq<Bar> { }
type Foo = impl Trait; impl Foo { type Item = Foo }
type Foo = impl Trait; fn foo() -> Foo { }
-> impl Future<Output = N>
-> impl Trait<N>
fn(N)
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Tutorials
Book Mode Tutorial
Slide Example
Facebook
Twitter
Discord
Feedback
Send us email
Releases
Pricing
Blog
Terms
Privacy
Blockquote
Code
var i = 0;
This is a alert area.
named on
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing