Submitter | phabricator |
---|---|
Date | Sept. 23, 2019, 7:42 p.m. |
Message ID | <differential-rev-PHID-DREV-ndy5fcueoswpsbzfqihu-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/41742/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -1,3 +1,6 @@ [fix] clang-format:command = clang-format --style file -i clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist" + +rustfmt:command = rustfmt {rootpath} +rustfmt:pattern = set:**.rs