Skip to content

fix pattern matching for DbErr::ConnectionAcquire - #174

Open
progzone122 wants to merge 1 commit into
SeaQL:masterfrom
progzone122:master
Open

progzone122 wants to merge 1 commit into
SeaQL: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.

This branch has not been deployed

No deployments
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