diff options
| author | Veetaha <[email protected]> | 2020-02-09 23:19:37 +0000 |
|---|---|---|
| committer | Veetaha <[email protected]> | 2020-02-17 20:24:38 +0000 |
| commit | acdab6f0f232913da44fca085e2f508d53982ab6 (patch) | |
| tree | 4c6e524c903234fe769b9c8a58804f8eea7ab803 | |
| parent | 6ae4850c897ce9539b15f67375ba1d5d8f647f37 (diff) | |
ra_syntax: moved reexport declaration after imports as per matklad
| -rw-r--r-- | crates/ra_syntax/src/syntax_node.rs | 3 |
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 | ||
| 9 | pub(crate) use rowan::{GreenNode, GreenToken}; | ||
| 10 | use rowan::{GreenNodeBuilder, Language}; | 9 | use rowan::{GreenNodeBuilder, Language}; |
| 11 | 10 | ||
| 12 | use crate::{Parse, SmolStr, SyntaxError, SyntaxKind, TextUnit}; | 11 | use crate::{Parse, SmolStr, SyntaxError, SyntaxKind, TextUnit}; |
| 13 | 12 | ||
| 13 | pub(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)] |
| 15 | pub enum RustLanguage {} | 16 | pub enum RustLanguage {} |
| 16 | impl Language for RustLanguage { | 17 | impl Language for RustLanguage { |
