Commit 9f52753
authored
Remove unstable-features from code formatting script (#3962)
The code formatting script
[scripts/kani-fmt.sh](https://github.com/model-checking/kani/blob/main/scripts/kani-fmt.sh)
currently uses `--unstable-features` to enable the usage of the
`--ignore` pattern in
[rustfmt.toml](https://github.com/model-checking/kani/blob/main/rustfmt.toml).
Since we're already using a find command to find all the files to
format, it is easy to instead add the patterns to exclude to the find
command rather than relying on an unstable feature.
Resolves #ISSUE-NUMBER
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.1 parent 49c4b6f commit 9f52753
2 files changed
+10
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
34 | | - | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
0 commit comments