Skip to content

Commit 070e691

Browse files
committed
core: Mark Char trait experimental
1 parent 41fb8f7 commit 070e691

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/char.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ pub fn len_utf8_bytes(c: char) -> uint {
229229
}
230230

231231
/// Basic `char` manipulations.
232+
#[experimental = "trait organization may change"]
232233
pub trait Char {
233234
/// Checks if a `char` parses as a numeric digit in the given radix.
234235
///
@@ -315,6 +316,7 @@ pub trait Char {
315316
fn encode_utf16(&self, dst: &mut [u16]) -> Option<uint>;
316317
}
317318

319+
#[experimental = "trait is experimental"]
318320
impl Char for char {
319321
fn is_digit_radix(&self, radix: uint) -> bool { is_digit_radix(*self, radix) }
320322

0 commit comments

Comments
 (0)