aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parser_api.rs
diff options
context:
space:
mode:
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,