-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redirect_url to return String not &str #204
Comments
Why not store the url as a member of your struct rather than computing it on each invocation of redirect_uri? |
Would I need to make the whole struct be static then? I did make a set of global |
No, the struct wouldn't need to be static.
|
I see, thanks for explaining! |
I'm trying to implement something like:
but I can't, because of lifetimes. I see no good reason to make it return
&str
and notString
, would be a nice change IMO.The text was updated successfully, but these errors were encountered: