Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ci/sembr/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ struct Cli {
show_diff: bool,
}

static REGEX_IGNORE_END: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"(\.|\?|;|!)$").unwrap());
static REGEX_IGNORE_END: LazyLock<Regex> =
LazyLock::new(|| Regex::new(r"(\.|\?|;|!|,|\-)$").unwrap());
static REGEX_IGNORE_LINK_TARGETS: LazyLock<Regex> =
LazyLock::new(|| Regex::new(r"^\[.+\]: ").unwrap());
static REGEX_SPLIT: LazyLock<Regex> =
Expand Down
3 changes: 2 additions & 1 deletion src/implementing_new_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading