diff options
Diffstat (limited to 'crates/ra_mbe')
-rw-r--r-- | crates/ra_mbe/src/syntax_bridge.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_mbe/src/syntax_bridge.rs b/crates/ra_mbe/src/syntax_bridge.rs index 6265fe462..0a7e50c4e 100644 --- a/crates/ra_mbe/src/syntax_bridge.rs +++ b/crates/ra_mbe/src/syntax_bridge.rs | |||
@@ -58,10 +58,6 @@ where | |||
58 | return Err(ExpandError::ConversionError); | 58 | return Err(ExpandError::ConversionError); |
59 | } | 59 | } |
60 | 60 | ||
61 | if tree_sink.roots.len() != 1 { | ||
62 | return Err(ExpandError::ConversionError); | ||
63 | } | ||
64 | |||
65 | Ok(tree_sink.inner.finish()) | 61 | Ok(tree_sink.inner.finish()) |
66 | } | 62 | } |
67 | 63 | ||