-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Omit lifetime of wrapper function. #1649
Comments
I would accept a PR that applies |
If I remember correctly, actually omitting the "unused" lifetime does not actually work in all cases, which is why a PR simply omitting the lifetime may not work out. I would be happy to review such a PR, however. |
Thanks for pointing out it. But I think that both pgrx/pgrx-sql-entity-graph/src/pg_extern/mod.rs Lines 427 to 429 in bce089e
Get! It is a really easier way to add Thanks @workingjubilee |
close #1649. Signed-off-by: my-vegetable-has-exploded <wy1109468038@gmail.com>
Thanks for your great work!
I found the warper function contains unnecessary lifetime. And the rustc compiler warns that lifetime parameter
'a
never used.After expanding
The lifetime is useless for _vectors_vector_accum_wrapper.
If this issue makes sense, I'd like to open a pr to fix it.
The text was updated successfully, but these errors were encountered: