Skip to content
Snippets Groups Projects
Commit c4392e8bfb9f authored by Mitchell Kember's avatar Mitchell Kember
Browse files

rust: enable clippy::or_fun_call lint

I confirmed that this would have prevented the issue in !1280.

For details see:
https://rust-lang.github.io/rust-clippy/master/index.html#/or_fun_call
parent 1ef08a0381a0
No related branches found
No related tags found
2 merge requests!1292Draft: 7.0rc preparation,!1282rust: enable clippy::or_fun_call lint
Pipeline #100016 passed
......@@ -2,3 +2,6 @@
members = ["hg-core", "hg-cpython", "hg-pyo3", "rhg", "pyo3-sharedref"]
exclude = ["chg", "hgcli"]
resolver = "2"
[workspace.lints.clippy]
or_fun_call = "deny"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment