Skip to content

Commit 015bd65

Browse files
docs: update readme
1 parent bc1f275 commit 015bd65

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
[Rust](https://www.rust-lang.org) tools package for [pre-commit](https://pre-commit.com).
44

5+
Forked from: (doublify's pre-commit-rust)[] (**NOTE: Their repo is unmaintained**)
6+
57
## Using rust tools with pre-commit
68

79
```yaml
8-
- repo: https://github.com/doublify/pre-commit-rust
10+
- repo: https://github.com/antonio-hickey/rusted-pre-commits
911
rev: master
1012
hooks:
1113
- id: fmt
@@ -16,9 +18,9 @@
1618
## Passing arguments to rustfmt
1719
1820
```yaml
19-
- repo: https://github.com/doublify/pre-commit-rust
21+
- repo: https://github.com/antonio-hickey/rusted-pre-commits
2022
rev: master
2123
hooks:
2224
- id: fmt
23-
args: ['--verbose', '--edition', '2018', '--']
25+
args: ['--verbose', '--edition', '2021', '--']
2426
```

0 commit comments

Comments
 (0)