You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The router! macro expands to a series of if statements instead of an if ... else if ... else chain or a match statement. This means that the compiler cannot tell that only a single handler can run, and so the compiler will complain about values being used multiple times if they are moved into route handlers.
The text was updated successfully, but these errors were encountered:
The
router!
macro expands to a series ofif
statements instead of anif ... else if ... else
chain or a match statement. This means that the compiler cannot tell that only a single handler can run, and so the compiler will complain about values being used multiple times if they are moved into route handlers.The text was updated successfully, but these errors were encountered: