This repository has been archived by the owner on Jul 19, 2020. It is now read-only.
Remove the other attribute matchers. #121
Labels
enhancement
New feature or request
high priority
Issues with this tag will be worked on before others
Description
Because you can't have arbitrary syntax tokens within an attribute, you either have to use
#[attr(arbitrary stuff)]
or#[arbitrary] #[stuff]
. I find these to be difficult to read, and harder to write than just having a block of them, or just using the routing syntax exposed by#[to=""]
.Because the router syntax is a little more manageable now, it might make sense to get rid of all, or at least some of the attributes. I don't think there is a need for two separate systems.
Keeping
#[rest]
and#[end]
are probably worthwhile, but everything else except#[to=""]
should go.The text was updated successfully, but these errors were encountered: