]> git.lizzy.rs Git - rust.git/commitdiff
Remove example in test for is_nonspacing_mark because it's currently private
authorvarkor <github@varkor.com>
Fri, 13 Apr 2018 23:21:25 +0000 (00:21 +0100)
committervarkor <github@varkor.com>
Mon, 21 May 2018 17:57:54 +0000 (18:57 +0100)
src/libcore/char/methods.rs

index c170e0c1ba1c96ae109898e272c5ad1040cd1835..bffbba1a72351cc1a21afe371b4f6085c45a7bf3 100644 (file)
@@ -696,16 +696,6 @@ pub fn is_control(self) -> bool {
     ///
     /// 'Nonspacing mark code point' is defined in terms of the Unicode General
     /// Category `Mn`.
-    ///
-    /// # Examples
-    ///
-    /// Basic usage:
-    ///
-    /// ```
-    /// // U+0301, COMBINING ACUTE ACCENT
-    /// assert!('\u{301}'.is_nonspacing_mark());
-    /// assert!(!'e'.is_nonspacing_mark());
-    /// ```
     #[unstable(feature = "rustc_private",
                reason = "mainly needed for compiler internals",
                issue = "27812")]