diff options
| author | reedlepee <reedlepee123@gmail.com> | 2013-10-19 04:06:18 +0530 |
|---|---|---|
| committer | reedlepee <reedlepee123@gmail.com> | 2013-10-23 01:10:49 +0530 |
| commit | dadb6f0cd9fa7e4b402a0107358acb34002d4895 (patch) | |
| tree | fbc9b69e7583bff18703f18e0f1585aa02dea032 /src/libstd | |
| parent | fd2c0128a7dd3cb19eda253acd01cd7905d1c7dc (diff) | |
| download | rust-dadb6f0cd9fa7e4b402a0107358acb34002d4895.tar.gz rust-dadb6f0cd9fa7e4b402a0107358acb34002d4895.zip | |
Don't Make str field private
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/str.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/str.rs b/src/libstd/str.rs index 883934124a6..a6b0924e6c1 100644 --- a/src/libstd/str.rs +++ b/src/libstd/str.rs @@ -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` |
