aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-09 23:19:37 +0000
committerVeetaha <[email protected]>2020-02-17 20:24:38 +0000
commitacdab6f0f232913da44fca085e2f508d53982ab6 (patch)
tree4c6e524c903234fe769b9c8a58804f8eea7ab803
parent6ae4850c897ce9539b15f67375ba1d5d8f647f37 (diff)
ra_syntax: moved reexport declaration after imports as per matklad
-rw-r--r--crates/ra_syntax/src/syntax_node.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/syntax_node.rs b/crates/ra_syntax/src/syntax_node.rs
index 251668996..4e3a1460d 100644
--- a/crates/ra_syntax/src/syntax_node.rs
+++ b/crates/ra_syntax/src/syntax_node.rs
@@ -6,11 +6,12 @@
6//! The *real* implementation is in the (language-agnostic) `rowan` crate, this 6//! The *real* implementation is in the (language-agnostic) `rowan` crate, this
7//! module just wraps its API. 7//! module just wraps its API.
8 8
9pub(crate) use rowan::{GreenNode, GreenToken};
10use rowan::{GreenNodeBuilder, Language}; 9use rowan::{GreenNodeBuilder, Language};
11 10
12use crate::{Parse, SmolStr, SyntaxError, SyntaxKind, TextUnit}; 11use crate::{Parse, SmolStr, SyntaxError, SyntaxKind, TextUnit};
13 12
13pub(crate) use rowan::{GreenNode, GreenToken};
14
14#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] 15#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
15pub enum RustLanguage {} 16pub enum RustLanguage {}
16impl Language for RustLanguage { 17impl Language for RustLanguage {