mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
another corner case
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user