aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/syntax_node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/syntax_node.rs')
-rw-r--r--crates/ra_syntax/src/syntax_node.rs13
1 files changed, 5 insertions, 8 deletions
diff --git a/crates/ra_syntax/src/syntax_node.rs b/crates/ra_syntax/src/syntax_node.rs
index ed48739f8..aa627398d 100644
--- a/crates/ra_syntax/src/syntax_node.rs
+++ b/crates/ra_syntax/src/syntax_node.rs
@@ -1,15 +1,12 @@
1mod builder;
2pub mod syntax_error;
3mod syntax_text;
4
5use std::{fmt, borrow::Borrow}; 1use std::{fmt, borrow::Borrow};
6 2
7use self::syntax_text::SyntaxText;
8use crate::{SmolStr, SyntaxKind, TextRange};
9use rowan::{Types, TransparentNewType}; 3use rowan::{Types, TransparentNewType};
10 4
11pub(crate) use self::builder::GreenBuilder; 5use crate::{
12pub use self::syntax_error::{SyntaxError, SyntaxErrorKind, Location}; 6 SmolStr, SyntaxKind, TextRange, SyntaxText,
7 syntax_error::SyntaxError,
8};
9
13pub use rowan::WalkEvent; 10pub use rowan::WalkEvent;
14 11
15#[derive(Debug, Clone, Copy)] 12#[derive(Debug, Clone, Copy)]