File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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 ( ) ) ;
2627static REGEX_IGNORE_LINK_TARGETS : LazyLock < Regex > =
2728 LazyLock :: new ( || Regex :: new ( r"^\[.+\]: " ) . unwrap ( ) ) ;
2829static REGEX_SPLIT : LazyLock < Regex > =
Original file line number Diff line number Diff line change @@ -216,7 +216,8 @@ The below steps needs to be followed in order to implement a new unstable featur
2162161 . 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
You can’t perform that action at this time.
0 commit comments