Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/tidy.rs')
| -rw-r--r-- | xtask/src/tidy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/tidy.rs b/xtask/src/tidy.rs index a4e0623d82..73ae70ca0e 100644 --- a/xtask/src/tidy.rs +++ b/xtask/src/tidy.rs @@ -205,7 +205,7 @@ fn check_test_attrs(path: &Path, text: &str) { } if let Some((line, _)) = text .lines() - .array_windows::<2>() + .array_windows() .enumerate() .find(|(_, [a, b])| b.contains("#[should_panic") && !a.contains("FIXME")) { |