Mercurial > hg
diff hgext/hooklib/enforce_draft_commits.py @ 51271:eab5b061cd48
rust-clippy: simplify `match` to `if let`
This was hinted at by clippy, and makes it more obvious that nothing is
happening in the `None` case.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 20 Dec 2023 14:58:36 +0100 |
parents | 6000f5b25c9b |
children | f4733654f144 |