Skip to content

Commit ed8979e

Browse files
authored
Merge pull request #434 from jfly/spec-clarification
Clarify in the spec that the formatter MUST process the given files
2 parents 2ec5610 + e47674d commit ed8979e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: docs/formatter-spec.md

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ $ rustfmt --edition 2018 src/main.rs src/lib.rs
3838
```
3939

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

0 commit comments

Comments
 (0)