diff options
author | Aleksey Kladov <[email protected]> | 2021-06-15 15:20:11 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-15 15:20:11 +0100 |
commit | 3f5eead9e3b32f7e88562337c95f76ea75c82486 (patch) | |
tree | 483c384bbade3f1b637cb3493e24c9b994f64db3 /xtask | |
parent | 067e97d149edc5eccdd0a30079f313325e87e449 (diff) |
minor: fix typo
Diffstat (limited to 'xtask')
-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 25ddb43b2..06219d155 100644 --- a/xtask/src/tidy.rs +++ b/xtask/src/tidy.rs | |||
@@ -354,7 +354,7 @@ fn check_test_attrs(path: &Path, text: &str) { | |||
354 | } | 354 | } |
355 | 355 | ||
356 | let panic_rule = | 356 | let panic_rule = |
357 | "https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/style.md#panic"; | 357 | "https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/style.md#should_panic"; |
358 | let need_panic: &[&str] = &["test_utils/src/fixture.rs"]; | 358 | let need_panic: &[&str] = &["test_utils/src/fixture.rs"]; |
359 | if text.contains("#[should_panic") && !need_panic.iter().any(|p| path.ends_with(p)) { | 359 | if text.contains("#[should_panic") && !need_panic.iter().any(|p| path.ends_with(p)) { |
360 | panic!( | 360 | panic!( |