Skip to content

different type into_response() return error silently #2038

Answered by davidpdrsn
freedit-dev asked this question in Q&A
Discussion options

You must be logged in to vote

Ah I see it. You have a ; after the else so you're returning (). Another reason we don't recommend returning impl IntoResponse

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@freedit-dev
Comment options

@davidpdrsn
Comment options

Answer selected by freedit-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2037 on June 09, 2023 08:30.