Skip to content
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

Fix explicit lifetimes for consts #467

Merged
merged 1 commit into from
Jan 29, 2023
Merged

Conversation

juhaku
Copy link
Owner

@juhaku juhaku commented Jan 29, 2023

Introduce explicit lifetimes for ToSchema and ToResponse lifetime variables to make library build in Rust 1.60. Automatic lifetime elision for const seems to be available from Rust 1.64 onwards and we want to make sure this lib builds in Rust 1.60 as well.

Introduce explicit lifetimes for `ToSchema` and `ToResponse` lifetime
variables to make library build in Rust 1.60. Automatic lifetime elision
for const seems to be available from Rust 1.64 onwards and we want to
make sure this lib builds in Rust 1.60 as well.
@juhaku juhaku merged commit 6190978 into master Jan 29, 2023
@juhaku juhaku deleted the fix-const-explicit-lifetimes branch January 29, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

1 participant