Skip to content

Feature request: support empty match branch #3

Closed
@Madoshakalaka

Description

@Madoshakalaka
html!{
  match ... {
    A::AA =>{
      <div/>
    }
    A::BB =>{}
  }
}

code like this doesn't compile.

A:BB => {{}} doesn't work either.

It has to be a very ugly A::BB => {html!{}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions