aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-15 15:20:35 +0100
committerGitHub <[email protected]>2021-06-15 15:20:35 +0100
commit7f482afada7519e828b8dbe8fafe063885256516 (patch)
tree483c384bbade3f1b637cb3493e24c9b994f64db3
parent79703efc7fddce3f0080d3d97c200d6a2a2ffaa9 (diff)
parent3f5eead9e3b32f7e88562337c95f76ea75c82486 (diff)
Merge #9291
9291: minor: fix typo r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
-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!(