Move the core::char module to its own directory

This commit is contained in:
Simon Sapin 2018-04-05 17:35:13 +02:00
parent b2027ef17c
commit 3613b0b52f
4 changed files with 5 additions and 4 deletions

View file

@ -15,7 +15,9 @@
#![allow(non_snake_case)]
#![stable(feature = "core_char", since = "1.2.0")]
use char_private::is_printable;
mod printable;
use self::printable::is_printable;
use convert::TryFrom;
use fmt::{self, Write};
use slice;

View file

@ -187,7 +187,7 @@ def main():
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// NOTE: The following code was generated by "src/etc/char_private.py",
// NOTE: The following code was generated by "src/libcore/char/printable.py",
// do not edit directly!
fn check(x: u16, singletonuppers: &[(u8, u8)], singletonlowers: &[u8],

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// NOTE: The following code was generated by "src/etc/char_private.py",
// NOTE: The following code was generated by "src/libcore/char/printable.py",
// do not edit directly!
fn check(x: u16, singletonuppers: &[(u8, u8)], singletonlowers: &[u8],

View file

@ -187,7 +187,6 @@ pub mod unicode;
pub mod heap;
// note: does not need to be public
mod char_private;
mod iter_private;
mod tuple;
mod unit;