sembr implementing_new_features.md again

This commit is contained in:
Tshepang Mbambo
2025-11-13 02:25:57 +02:00
parent 9d16bc4df8
commit 74caf6dcbe
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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> =
@@ -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