Skip to content

Commit b0ca60a

Browse files
authored
Merge pull request #2643 from rust-lang/tshepang/sembr
sembr implementing_new_features.md again
2 parents d871755 + 0b141a9 commit b0ca60a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/sembr/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ struct Cli {
2222
show_diff: bool,
2323
}
2424

25-
static REGEX_IGNORE_END: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"(\.|\?|;|!)$").unwrap());
25+
static REGEX_IGNORE_END: LazyLock<Regex> =
26+
LazyLock::new(|| Regex::new(r"(\.|\?|;|!|,|\-)$").unwrap());
2627
static REGEX_IGNORE_LINK_TARGETS: LazyLock<Regex> =
2728
LazyLock::new(|| Regex::new(r"^\[.+\]: ").unwrap());
2829
static REGEX_SPLIT: LazyLock<Regex> =

src/implementing_new_features.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ The below steps needs to be followed in order to implement a new unstable featur
216216
1. Write a lot of tests for the new feature, preferably in `tests/ui/$feature_name/`.
217217
PRs without tests will not be accepted!
218218

219-
1. Get your PR reviewed and land it. You have now successfully implemented a feature in Rust!
219+
1. Get your PR reviewed and land it.
220+
You have now successfully implemented a feature in Rust!
220221

221222
[`GatedSpans`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/parse/struct.GatedSpans.html
222223
[#81015]: https://github.com/rust-lang/rust/pull/81015

0 commit comments

Comments
 (0)