about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-04-14 00:21:25 +0100
committervarkor <github@varkor.com>2018-05-21 18:57:54 +0100
commit68c4fb8f2f556aca74394e07cbfb457d216e75b9 (patch)
tree7cc2ecb136f3eb3ae7ad8a8a428e5becb59cecfb
parent699a2b5c7ee900c1ff99b70f9b6402ded78d3b3b (diff)
downloadrust-68c4fb8f2f556aca74394e07cbfb457d216e75b9.tar.gz
rust-68c4fb8f2f556aca74394e07cbfb457d216e75b9.zip
Remove example in test for is_nonspacing_mark because it's currently private
-rw-r--r--src/libcore/char/methods.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libcore/char/methods.rs b/src/libcore/char/methods.rs
index c170e0c1ba1..bffbba1a723 100644
--- a/src/libcore/char/methods.rs
+++ b/src/libcore/char/methods.rs
@@ -696,16 +696,6 @@ impl char {
     ///
     /// '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")]