Don't Make str field private

This commit is contained in:
reedlepee 2013-10-19 04:06:18 +05:30
parent fd2c0128a7
commit dadb6f0cd9
1 changed files with 1 additions and 0 deletions

View File

@ -997,6 +997,7 @@ pub fn utf8_char_width(b: u8) -> uint {
/// the utf8 bytes of a string.
pub struct CharRange {
/// Current `char`
/// This field should be public making it private causes error while compiling!!
ch: char,
/// Index of the first byte of the next `char`