Skip to content

Commit

Permalink
Merge pull request #434 from jfly/spec-clarification
Browse files Browse the repository at this point in the history
Clarify in the spec that the formatter MUST process the given files
  • Loading branch information
brianmcgee authored Oct 12, 2024
2 parents 2ec5610 + e47674d commit ed8979e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/formatter-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ $ rustfmt --edition 2018 src/main.rs src/lib.rs
```

> [!IMPORTANT]
> It _MUST_ process the specified files. For example, it _MUST_ NOT ignore files because they are not tracked by a VCS.
>
> It _SHOULD_ processes only the specified files. Files that are not passed _SHOULD_ never be formatted.
### 2. Write to changed files
Expand Down

0 comments on commit ed8979e

Please sign in to comment.