From e4509c79b2c0929821ea5b8c5b33b81b80b265dd Mon Sep 17 00:00:00 2001 From: Dheeraj R Reddy Date: Thu, 18 Aug 2022 19:09:01 +0530 Subject: [PATCH] Make id and root public in AstNode --- src/ast.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ast.rs b/src/ast.rs index ce343a6b5..9fc2facbd 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -32,11 +32,11 @@ pub struct AstPayload { #[derive(Debug, Serialize)] pub struct AstResponse { /// The id associated to a request for an `AST` - id: String, + pub id: String, /// The root node of an `AST` /// /// If `None`, an error has occurred - root: Option, + pub root: Option, } /// Information on an `AST` node.