From 9ce7e8110254e8db476c96bce2eecb2d16983159 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Jul 2018 15:40:40 +0300 Subject: cleanups --- src/ast.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/ast.rs') diff --git a/src/ast.rs b/src/ast.rs index b513eb13e..48e1d23ac 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -1,14 +1,16 @@ use std::sync::Arc; -use {SyntaxNode, TreeRoot, SyntaxRoot}; +use {SyntaxNode, SyntaxRoot, TreeRoot}; #[derive(Debug)] pub struct File> { - syntax: SyntaxNode + syntax: SyntaxNode, } impl File> { pub fn parse(text: &str) -> Self { - File { syntax: ::parse(text.to_owned()) } + File { + syntax: ::parse(text.to_owned()), + } } } -- cgit v1.2.3