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 bottom 3 works but the top one fails because of a weird reason, am i doing something wrong?
error[E0425]: cannot find value `__rocket_page` in this scope
--> src/api/episodes.rs:20:22
|
20 | episodes!(episodes, {page: Option<u64>}, "/episodes?<page>");
| ^^^^ not found in this scope
I believe this has something to do with "?"
I just started out with rust, so any help would be useful
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have many similar functions that needs to run on multiple paths. I wanted to create a macro so that i can define the routes in a faster manner.
The bottom 3 works but the top one fails because of a weird reason, am i doing something wrong?
I believe this has something to do with "?"
I just started out with rust, so any help would be useful
Beta Was this translation helpful? Give feedback.
All reactions