Skip to content
Snippets Groups Projects
Commit d923988f 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 72d8dfb7
No related merge requests found
Pipeline #100005 canceled
...@@ -2,3 +2,6 @@ ...@@ -2,3 +2,6 @@
members = ["hg-core", "hg-cpython", "hg-pyo3", "rhg", "pyo3-sharedref"] members = ["hg-core", "hg-cpython", "hg-pyo3", "rhg", "pyo3-sharedref"]
exclude = ["chg", "hgcli"] exclude = ["chg", "hgcli"]
resolver = "2" 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