-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
chore: replace assert!(matches!(...))
with assert_matches!(...)
#2723
Conversation
f27cca3
to
abf741f
Compare
abf741f
to
0a5ff59
Compare
I didn't know we disallow unstable features:
so I give up this PR for now. Waiting for |
@pbeza We do. We only use nightly because we're forced to (crypto deps), but we want to eventually get back to However, we have |
e6e8dcf
to
98e8767
Compare
Fixed 🫡 @popzxc, PTAL |
@popzxc, this PR was removed from the merge queue due to failed status checks:
It doesn't make sense for me – there is no duplicate there. What am I missing here? |
@pbeza |
What ❔
Replace
assert!(matches!(...))
withassert_matches!(...)
.Why ❔
To make the code more idiomatic.
Checklist
zk fmt
andzk lint
.