]> git.lizzy.rs Git - rust.git/commitdiff
Fix inconsistent highlight blocks.
authorTomasz Różański <rosto@tlen.pl>
Thu, 25 Jul 2019 15:56:58 +0000 (17:56 +0200)
committerTomasz Różański <rosto@tlen.pl>
Thu, 25 Jul 2019 15:56:58 +0000 (17:56 +0200)
src/libcore/char/methods.rs

index 99f88591eea3eeca2e1a9828b00265a71e5d53e2..aa834db2b9b3e99f68d8fd1f9454570305fc765a 100644 (file)
@@ -547,10 +547,10 @@ pub fn is_alphabetic(self) -> bool {
         }
     }
 
-    /// Returns `true` if this `char` satisfies the 'XID_Start' Unicode property, and false
+    /// Returns `true` if this `char` satisfies the `XID_Start` Unicode property, and false
     /// otherwise.
     ///
-    /// 'XID_Start' is a Unicode Derived Property specified in
+    /// `XID_Start` is a Unicode Derived Property specified in
     /// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
     /// mostly similar to `ID_Start` but modified for closure under `NFKx`.
     #[cfg_attr(bootstrap,
@@ -563,12 +563,12 @@ pub fn is_xid_start(self) -> bool {
         derived_property::XID_Start(self)
     }
 
-    /// Returns `true` if this `char` satisfies the 'XID_Continue' Unicode property, and false
+    /// Returns `true` if this `char` satisfies the `XID_Continue` Unicode property, and false
     /// otherwise.
     ///
-    /// 'XID_Continue' is a Unicode Derived Property specified in
+    /// `XID_Continue` is a Unicode Derived Property specified in
     /// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
-    /// mostly similar to 'ID_Continue' but modified for closure under NFKx.
+    /// mostly similar to `ID_Continue` but modified for closure under NFKx.
     #[cfg_attr(bootstrap,
                unstable(feature = "rustc_private",
                         reason = "mainly needed for compiler internals",
@@ -666,7 +666,7 @@ pub fn is_whitespace(self) -> bool {
     /// Returns `true` if this `char` is alphanumeric.
     ///
     /// 'Alphanumeric'-ness is defined in terms of the Unicode General Categories
-    /// 'Nd', 'Nl', 'No' and the Derived Core Property 'Alphabetic'.
+    /// `Nd`, `Nl`, `No` and the Derived Core Property `Alphabetic`.
     ///
     /// # Examples
     ///
@@ -720,7 +720,7 @@ pub(crate) fn is_grapheme_extended(self) -> bool {
     /// Returns `true` if this `char` is numeric.
     ///
     /// 'Numeric'-ness is defined in terms of the Unicode General Categories
-    /// 'Nd', 'Nl', 'No'.
+    /// `Nd`, `Nl`, `No`.
     ///
     /// # Examples
     ///