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.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/crates/ra_syntax/src/syntax_node.rs b/crates/ra_syntax/src/syntax_node.rs
index a0d7c32ec..aa627398d 100644
--- a/crates/ra_syntax/src/syntax_node.rs
+++ b/crates/ra_syntax/src/syntax_node.rs
@@ -1,13 +1,12 @@
1pub mod syntax_error;
2mod syntax_text;
3
4use std::{fmt, borrow::Borrow}; 1use std::{fmt, borrow::Borrow};
5 2
6use self::syntax_text::SyntaxText;
7use crate::{SmolStr, SyntaxKind, TextRange};
8use rowan::{Types, TransparentNewType}; 3use rowan::{Types, TransparentNewType};
9 4
10pub use self::syntax_error::{SyntaxError, SyntaxErrorKind, Location}; 5use crate::{
6 SmolStr, SyntaxKind, TextRange, SyntaxText,
7 syntax_error::SyntaxError,
8};
9
11pub use rowan::WalkEvent; 10pub use rowan::WalkEvent;
12 11
13#[derive(Debug, Clone, Copy)] 12#[derive(Debug, Clone, Copy)]