1
Fork 0

Remove example in test for is_nonspacing_mark because it's currently private

This commit is contained in:
varkor 2018-04-14 00:21:25 +01:00
parent 699a2b5c7e
commit 68c4fb8f2f

View file

@ -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")]