aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-04-21 22:52:21 +0100
committerAleksey Kladov <[email protected]>2019-04-21 22:52:21 +0100
commit97f41d7343a4801f296cd6a7a45ece9249c15886 (patch)
treef50302f9e71ebcd7042df620b0f1cc21b9714574 /crates/ra_syntax/src
parentf313ac45af0b9c81cf411a8a4a6873e742bb8562 (diff)
test short structs
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r--crates/ra_syntax/src/syntax_node.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/syntax_node.rs b/crates/ra_syntax/src/syntax_node.rs
index d9591781d..628cabc29 100644
--- a/crates/ra_syntax/src/syntax_node.rs
+++ b/crates/ra_syntax/src/syntax_node.rs
@@ -24,6 +24,7 @@ use crate::{
24pub use rowan::WalkEvent; 24pub use rowan::WalkEvent;
25pub(crate) use rowan::{GreenNode, GreenToken}; 25pub(crate) use rowan::{GreenNode, GreenToken};
26 26
27#[derive(Debug, PartialEq, Eq, Clone, Copy)]
27pub enum InsertPosition<T> { 28pub enum InsertPosition<T> {
28 First, 29 First,
29 Last, 30 Last,