aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-15 15:20:11 +0100
committerAleksey Kladov <[email protected]>2021-06-15 15:20:11 +0100
commit3f5eead9e3b32f7e88562337c95f76ea75c82486 (patch)
tree483c384bbade3f1b637cb3493e24c9b994f64db3 /xtask
parent067e97d149edc5eccdd0a30079f313325e87e449 (diff)
minor: fix typo
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/tidy.rs2
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!(