From 070e691379a1d7c6bec6ec077db41c1ac40d90fa Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 8 Oct 2014 17:05:12 -0700 Subject: [PATCH] core: Mark Char trait experimental --- src/libcore/char.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcore/char.rs b/src/libcore/char.rs index db58f802643b..e88c7695d1b4 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -229,6 +229,7 @@ pub fn len_utf8_bytes(c: char) -> uint { } /// Basic `char` manipulations. +#[experimental = "trait organization may change"] pub trait Char { /// Checks if a `char` parses as a numeric digit in the given radix. /// @@ -315,6 +316,7 @@ pub trait Char { fn encode_utf16(&self, dst: &mut [u16]) -> Option; } +#[experimental = "trait is experimental"] impl Char for char { fn is_digit_radix(&self, radix: uint) -> bool { is_digit_radix(*self, radix) }