diff --git a/README.md b/README.md index 12d3b83..3f90025 100644 --- a/README.md +++ b/README.md @@ -19,5 +19,7 @@ rev: master hooks: - id: fmt - args: ['--verbose', '--edition', '2018', '--'] + args: ['--verbose', '--', '--edition', '2018' ] ``` + +Note: Cargo fmt picks up "edition" automatically from Cargo.toml, so specificying this isn't necessary in most cases.