Merge pull request #2 from Calinou/update-configuration-example
docs: Update configuration example
This commit is contained in:
commit
210883a5b8
|
@ -1,12 +1,12 @@
|
|||
# Rust hooks for pre-commit
|
||||
|
||||
[Rust](https://www.rust-lang.org) tools package for [pre-commit](http://pre-commit.com).
|
||||
[Rust](https://www.rust-lang.org) tools package for [pre-commit](https://pre-commit.com).
|
||||
|
||||
## Using rust tools with pre-commit
|
||||
|
||||
```yaml
|
||||
- repo: git://github.com/doublify/pre-commit-rust
|
||||
sha: master
|
||||
- repo: https://github.com/doublify/pre-commit-rust
|
||||
rev: master
|
||||
hooks:
|
||||
- id: fmt
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue