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 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
|
## Using rust tools with pre-commit
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- repo: git://github.com/doublify/pre-commit-rust
|
- repo: https://github.com/doublify/pre-commit-rust
|
||||||
sha: master
|
rev: master
|
||||||
hooks:
|
hooks:
|
||||||
- id: fmt
|
- id: fmt
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue