Skip to content

Commit d97f2ed

Browse files
committed
Move core::char::printable to core::unicode::printable
1 parent b11b000 commit d97f2ed

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

src/libcore/char/methods.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use slice;
1414
use str::from_utf8_unchecked_mut;
1515
use super::*;
16-
use super::printable::is_printable;
16+
use unicode::printable::is_printable;
1717
use unicode::tables::{conversions, derived_property, general_category, property};
1818

1919
#[lang = "char"]

src/libcore/char/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
mod convert;
3333
mod decode;
3434
mod methods;
35-
mod printable;
3635

3736
// stable re-exports
3837
#[stable(feature = "rust1", since = "1.0.0")]

src/libcore/unicode/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#![allow(missing_docs)]
1313

1414
mod bool_trie;
15+
pub(crate) mod printable;
1516
pub(crate) mod tables;
1617
pub(crate) mod version;
1718

src/libcore/char/printable.py renamed to src/libcore/unicode/printable.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def main():
187187
// option. This file may not be copied, modified, or distributed
188188
// except according to those terms.
189189
190-
// NOTE: The following code was generated by "src/libcore/char/printable.py",
190+
// NOTE: The following code was generated by "src/libcore/unicode/printable.py",
191191
// do not edit directly!
192192
193193
fn check(x: u16, singletonuppers: &[(u8, u8)], singletonlowers: &[u8],

src/libcore/char/printable.rs renamed to src/libcore/unicode/printable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// NOTE: The following code was generated by "src/libcore/char/printable.py",
11+
// NOTE: The following code was generated by "src/libcore/unicode/printable.py",
1212
// do not edit directly!
1313

1414
fn check(x: u16, singletonuppers: &[(u8, u8)], singletonlowers: &[u8],

0 commit comments

Comments
 (0)