Skip to content

Commit ca26d2e

Browse files
authoredJul 25, 2019
Rollup merge of rust-lang#62977 - Rosto75:master, r=shepmaster
Fix inconsistent highlight blocks.
2 parents 42d924d + 50d9b06 commit ca26d2e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎src/libcore/char/methods.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -547,10 +547,10 @@ impl char {
547547
}
548548
}
549549

550-
/// Returns `true` if this `char` satisfies the 'XID_Start' Unicode property, and false
550+
/// Returns `true` if this `char` satisfies the `XID_Start` Unicode property, and false
551551
/// otherwise.
552552
///
553-
/// 'XID_Start' is a Unicode Derived Property specified in
553+
/// `XID_Start` is a Unicode Derived Property specified in
554554
/// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
555555
/// mostly similar to `ID_Start` but modified for closure under `NFKx`.
556556
#[cfg_attr(bootstrap,
@@ -563,12 +563,12 @@ impl char {
563563
derived_property::XID_Start(self)
564564
}
565565

566-
/// Returns `true` if this `char` satisfies the 'XID_Continue' Unicode property, and false
566+
/// Returns `true` if this `char` satisfies the `XID_Continue` Unicode property, and false
567567
/// otherwise.
568568
///
569-
/// 'XID_Continue' is a Unicode Derived Property specified in
569+
/// `XID_Continue` is a Unicode Derived Property specified in
570570
/// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
571-
/// mostly similar to 'ID_Continue' but modified for closure under NFKx.
571+
/// mostly similar to `ID_Continue` but modified for closure under NFKx.
572572
#[cfg_attr(bootstrap,
573573
unstable(feature = "rustc_private",
574574
reason = "mainly needed for compiler internals",
@@ -666,7 +666,7 @@ impl char {
666666
/// Returns `true` if this `char` is alphanumeric.
667667
///
668668
/// 'Alphanumeric'-ness is defined in terms of the Unicode General Categories
669-
/// 'Nd', 'Nl', 'No' and the Derived Core Property 'Alphabetic'.
669+
/// `Nd`, `Nl`, `No` and the Derived Core Property `Alphabetic`.
670670
///
671671
/// # Examples
672672
///
@@ -720,7 +720,7 @@ impl char {
720720
/// Returns `true` if this `char` is numeric.
721721
///
722722
/// 'Numeric'-ness is defined in terms of the Unicode General Categories
723-
/// 'Nd', 'Nl', 'No'.
723+
/// `Nd`, `Nl`, `No`.
724724
///
725725
/// # Examples
726726
///

0 commit comments

Comments
 (0)
Please sign in to comment.