Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't Make str field private
  • Loading branch information
reedlepee123 committed Oct 22, 2013
1 parent fd2c012 commit dadb6f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/str.rs
Expand Up @@ -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`
Expand Down

0 comments on commit dadb6f0

Please sign in to comment.