commit | 12dcd62986dff6b328ab2649b3aa3311b1b95a95 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@palantir.com> | Thu Nov 10 13:06:41 2016 -0800 |
committer | David Tolnay <dtolnay@palantir.com> | Thu Nov 10 13:06:41 2016 -0800 |
tree | 84f38c1e0ebedfa20d1e72e988c4b4c549a3d0fb | |
parent | 65b30d25b4a7cd36138677ece80e3856fef01340 [diff] [blame] |
Public fields for struct Expr
diff --git a/src/expr.rs b/src/expr.rs index 94ac7dc..72922ca 100644 --- a/src/expr.rs +++ b/src/expr.rs
@@ -2,8 +2,8 @@ #[derive(Debug, Clone, Eq, PartialEq)] pub struct Expr { - node: ExprKind, - attrs: Vec<Attribute>, + pub node: ExprKind, + pub attrs: Vec<Attribute>, } impl From<ExprKind> for Expr {