mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
Remove duplicated code
This commit is contained in:
parent
816147c4b5
commit
90764fc54b
1 changed files with 0 additions and 4 deletions
|
@ -58,10 +58,6 @@ where
|
||||||
return Err(ExpandError::ConversionError);
|
return Err(ExpandError::ConversionError);
|
||||||
}
|
}
|
||||||
|
|
||||||
if tree_sink.roots.len() != 1 {
|
|
||||||
return Err(ExpandError::ConversionError);
|
|
||||||
}
|
|
||||||
|
|
||||||
Ok(tree_sink.inner.finish())
|
Ok(tree_sink.inner.finish())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue