From 0b141a9b2bd4fe71aec68cc1cc2274373d9bc13a Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Thu, 13 Nov 2025 02:25:57 +0200 Subject: [PATCH] sembr implementing_new_features.md again --- ci/sembr/src/main.rs | 3 ++- src/implementing_new_features.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/sembr/src/main.rs b/ci/sembr/src/main.rs index d8f20327b..7590fbc41 100644 --- a/ci/sembr/src/main.rs +++ b/ci/sembr/src/main.rs @@ -22,7 +22,8 @@ struct Cli { show_diff: bool, } -static REGEX_IGNORE_END: LazyLock = LazyLock::new(|| Regex::new(r"(\.|\?|;|!)$").unwrap()); +static REGEX_IGNORE_END: LazyLock = + LazyLock::new(|| Regex::new(r"(\.|\?|;|!|,|\-)$").unwrap()); static REGEX_IGNORE_LINK_TARGETS: LazyLock = LazyLock::new(|| Regex::new(r"^\[.+\]: ").unwrap()); static REGEX_SPLIT: LazyLock = diff --git a/src/implementing_new_features.md b/src/implementing_new_features.md index c3e8c0c06..4526a7af0 100644 --- a/src/implementing_new_features.md +++ b/src/implementing_new_features.md @@ -216,7 +216,8 @@ The below steps needs to be followed in order to implement a new unstable featur 1. Write a lot of tests for the new feature, preferably in `tests/ui/$feature_name/`. PRs without tests will not be accepted! -1. Get your PR reviewed and land it. You have now successfully implemented a feature in Rust! +1. Get your PR reviewed and land it. + You have now successfully implemented a feature in Rust! [`GatedSpans`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/parse/struct.GatedSpans.html [#81015]: https://github.com/rust-lang/rust/pull/81015