Skip to content

fix pattern matching for DbErr::ConnectionAcquire#174

Open
progzone122 wants to merge 1 commit intoSeaQL:masterfrom
progzone122:master
Open

fix pattern matching for DbErr::ConnectionAcquire#174
progzone122 wants to merge 1 commit intoSeaQL:masterfrom
progzone122:master

Conversation

@progzone122
Copy link
Copy Markdown

The example in "Check if connection is valid" fails to compile because DbErr::ConnectionAcquire is a tuple variant.
Fixed by adding (_) to the matches! macro.

@Huliiiiii Huliiiiii requested a review from tyt2y3 May 3, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant