aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parser_api.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-08 11:49:43 +0000
committerAleksey Kladov <[email protected]>2019-02-08 11:49:43 +0000
commit12e3b4c70b5ef23b2fdfc197296d483680e125f9 (patch)
tree71baa0e0a62f9f6b61450501c5f821f67badf9e4 /crates/ra_syntax/src/parser_api.rs
parent5cb1d41a30d25cbe136402644bf5434dd667f1e5 (diff)
reformat the world
Diffstat (limited to 'crates/ra_syntax/src/parser_api.rs')
-rw-r--r--crates/ra_syntax/src/parser_api.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/ra_syntax/src/parser_api.rs b/crates/ra_syntax/src/parser_api.rs
index 3148371c5..504df753e 100644
--- a/crates/ra_syntax/src/parser_api.rs
+++ b/crates/ra_syntax/src/parser_api.rs
@@ -136,10 +136,7 @@ pub(crate) struct Marker {
136 136
137impl Marker { 137impl Marker {
138 fn new(pos: u32) -> Marker { 138 fn new(pos: u32) -> Marker {
139 Marker { 139 Marker { pos, bomb: DropBomb::new("Marker must be either completed or abandoned") }
140 pos,
141 bomb: DropBomb::new("Marker must be either completed or abandoned"),
142 }
143 } 140 }
144 141
145 /// Finishes the syntax tree node and assigns `kind` to it, 142 /// Finishes the syntax tree node and assigns `kind` to it,