From ffe359fe2b61a48b7b0e13dfbdbdbbc1abeab654 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Mon, 12 Jan 2026 20:07:26 +0200 Subject: [PATCH] another corner case --- src/doc/rustc-dev-guide/ci/sembr/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/doc/rustc-dev-guide/ci/sembr/src/main.rs b/src/doc/rustc-dev-guide/ci/sembr/src/main.rs index d41a57d6f747..ebcd472d7012 100644 --- a/src/doc/rustc-dev-guide/ci/sembr/src/main.rs +++ b/src/doc/rustc-dev-guide/ci/sembr/src/main.rs @@ -80,6 +80,7 @@ fn ignore(line: &str, in_code_block: bool) -> bool { in_code_block || line.to_lowercase().contains("e.g.") || line.to_lowercase().contains("n.b.") + || line.contains(" etc.") || line.contains("i.e.") || line.contains("et. al") || line.contains('|') @@ -189,6 +190,7 @@ fn test_sembr() { ignore | tables ignore e.g. and ignore i.e. and +ignore etc. and ignore E.g. too - list. entry * list. entry @@ -212,6 +214,7 @@ fn test_sembr() { ignore | tables ignore e.g. and ignore i.e. and +ignore etc. and ignore E.g. too - list. entry