Merge pull request #765 from jbcrail/fix-warnings

Fix "private type in public interface" warnings
This commit is contained in:
Heather 2015-12-24 08:56:02 +04:00
commit af359468a2
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
use tokens::{Token};
type TokenStack = Vec<(usize, Token)>;
type OperandsList = Vec< Box<ASTNode> >;
pub type OperandsList = Vec< Box<ASTNode> >;
#[derive(Debug)]
pub enum ASTNode {

View file

@ -58,7 +58,7 @@ impl Line {
// each line's prefix has to be considered to know whether to merge it with
// the next line or not
#[derive(Debug)]
struct FileLine {
pub struct FileLine {
line : String,
indent_end : usize, // the end of the indent, always the start of the text
pfxind_end : usize, // the end of the PREFIX's indent, that is, the spaces before the prefix