diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-27 15:39:48 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-31 15:47:36 -0700 |
| commit | 3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7 (patch) | |
| tree | c00e4a730162f2b18c90971183ae28a746bbf4f8 /src/libsyntax/parse/comments.rs | |
| parent | c034d0c854b9e80dc5d20ebe152eee8ce96ed544 (diff) | |
| download | rust-3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7.tar.gz rust-3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7.zip | |
syntax: Switch field privacy as necessary
Diffstat (limited to 'src/libsyntax/parse/comments.rs')
| -rw-r--r-- | src/libsyntax/parse/comments.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs index 7d337e9c078..3bf1474c461 100644 --- a/src/libsyntax/parse/comments.rs +++ b/src/libsyntax/parse/comments.rs @@ -31,9 +31,9 @@ pub enum CommentStyle { #[deriving(Clone)] pub struct Comment { - style: CommentStyle, - lines: Vec<~str> , - pos: BytePos + pub style: CommentStyle, + pub lines: Vec<~str>, + pub pos: BytePos, } pub fn is_doc_comment(s: &str) -> bool { @@ -338,8 +338,8 @@ fn consume_comment(rdr: &mut StringReader, #[deriving(Clone)] pub struct Literal { - lit: ~str, - pos: BytePos + pub lit: ~str, + pub pos: BytePos, } // it appears this function is called only from pprust... that's |
